mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 00:25:22 +00:00
Merge pull request #1295 from basho/bch-disable-fullsync-on-disconnect
RTS-1820: Disable fullsync when clusters are disconnected
This commit is contained in:
commit
4b74fc9e61
@ -354,6 +354,7 @@ connect_clusters([AFirst|_] = ANodes, [BFirst|_] = BNodes,
|
||||
disconnect_clusters(SourceNodes, SourceLeader, RemoteClusterName) ->
|
||||
lager:info("Disconnect the 2 clusters"),
|
||||
repl_util:disable_realtime(SourceLeader, RemoteClusterName),
|
||||
repl_util:disable_fullsync(SourceLeader, RemoteClusterName),
|
||||
rt:wait_until_ring_converged(SourceNodes),
|
||||
repl_util:disconnect_cluster(SourceLeader, RemoteClusterName),
|
||||
repl_util:wait_until_no_connection(SourceLeader),
|
||||
|
Loading…
Reference in New Issue
Block a user