Class ReplicateFromLeader


  • public class ReplicateFromLeader
    extends Object
    • Constructor Detail

    • Method Detail

      • startReplication

        public void startReplication​(boolean switchTransactionLog)
                              throws InterruptedException
        Start a replication handler thread that will periodically pull indices from the shard leader
        Parameters:
        switchTransactionLog - if true, ReplicationHandler will rotate the transaction log once the replication is done
        Throws:
        InterruptedException
      • getCommitVersion

        public static String getCommitVersion​(SolrCore solrCore)
      • stopReplication

        public void stopReplication()