lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cao Manh Dat (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-12805) Store previous term (generation) of replica when start recovery process
Date Wed, 26 Sep 2018 03:14:00 GMT
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message