RTS-1820: Disable fullsync when clusters are disconnected

This commit is contained in:
Brett Hazen 2017-03-16 12:02:32 -06:00
parent 37f80ebe81
commit 9eeb92113b

View File

@ -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),