Class LeaderInitiatedRecoveryThread

  • All Implemented Interfaces:
    Runnable

    @Deprecated
    public class LeaderInitiatedRecoveryThread
    extends Thread
    Deprecated.
    Background daemon thread that tries to send the REQUESTRECOVERY to a downed replica; used by a shard leader to nag a replica into recovering after the leader experiences an error trying to send an update request to the replica.
    • Field Detail

      • zkController

        protected ZkController zkController
        Deprecated.
      • coreContainer

        protected CoreContainer coreContainer
        Deprecated.
      • collection

        protected String collection
        Deprecated.
      • shardId

        protected String shardId
        Deprecated.
      • maxTries

        protected int maxTries
        Deprecated.
    • Method Detail

      • run

        public void run()
        Deprecated.
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread
      • publishDownState

        public boolean publishDownState​(String replicaCoreName,
                                        String replicaCoreNodeName,
                                        String replicaNodeName,
                                        String replicaUrl,
                                        boolean forcePublishState)
        Deprecated.
      • updateLIRState

        protected void updateLIRState​(String replicaCoreNodeName)
        Deprecated.
      • sendRecoveryCommandWithRetry

        protected void sendRecoveryCommandWithRetry()
                                             throws Exception
        Deprecated.
        Throws:
        Exception