Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-12805

Store previous term (generation) of replica when start recovery process

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.0
    • None
    • None

    Description

      Right now the current implementation of ZkShardTerms.startRecovering(core2) is

      from {"core1" : 4, "core2" : 2} to {"core1" : 4, "core2" : 4, "core2_recovering" : 4}. If we change the behaviorĀ a little bit to {"core1" : 4, "core2" : 4, "core_recovering" : 2}. We will have more information about the current generation of core2's index which is a very useful information for leader election.

      Attachments

        Activity

          People

            caomanhdat Cao Manh Dat
            caomanhdat Cao Manh Dat
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: