Cao Manh Dat created SOLR-12805:
-----------------------------------

             Summary: Store previous term (generation) of replica when start 
recovery process
                 Key: SOLR-12805
                 URL: https://issues.apache.org/jira/browse/SOLR-12805
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Cao Manh Dat
            Assignee: Cao Manh Dat


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to