mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 08:35:22 +00:00
RTS-1820: Disable fullsync when clusters are disconnected
This commit is contained in:
parent
37f80ebe81
commit
9eeb92113b
@ -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