This can be necessary in case the live loses connection to the backup (network failure, or backup crashing).
577578579580581582583584585586587
scheduledPool.schedule(new Runnable() { @Override public void run() { localReplicationManager.clearReplicationTokens(); } }, 30, TimeUnit.SECONDS); } stopComponent(connectorsService);