Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
cassandane - enable replicaonly for replica slots
Browse files Browse the repository at this point in the history
  • Loading branch information
brong committed Nov 4, 2023
1 parent 4209f36 commit ae68d18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cassandane/Cassandane/Cyrus/TestCase.pm
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ sub _create_instances
my %replica_params = %instance_params;
$replica_params{config} = $conf->clone();
$replica_params{config}->set(sync_rightnow_channel => undef);
$replica_params{config}->set(replicaonly => 'yes'),
my $cyrus_replica_prefix = $cassini->val('cyrus replica', 'prefix');
if (defined $cyrus_replica_prefix and -d $cyrus_replica_prefix) {
xlog $self, "replica instance: using [cyrus replica] configuration";
Expand Down

0 comments on commit ae68d18

Please sign in to comment.