You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cao Manh Dat (JIRA)" <ji...@apache.org> on 2018/06/01 01:57:00 UTC

[jira] [Updated] (SOLR-12433) Raft term of a replica is set equals to leader even it failed to receive update on recovering

     [ https://issues.apache.org/jira/browse/SOLR-12433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Cao Manh Dat updated SOLR-12433:
--------------------------------
    Environment:     (was: When digging into RestartWhileUpdatingTest failure, I see that term of replicas is kinda mess up. 

{quote}
[junit4] 1> /collections/collection1/terms/shard1 (0)
 [junit4] 1> DATA:
 [junit4] 1> {
 [junit4] 1> "core_node24_recovering":4,
 [junit4] 1> "core_node22":4,
 [junit4] 1> "core_node26_recovering":4,
 [junit4] 1> "core_node24":2,
 [junit4] 1> "core_node26":3}
{quote}

By design, the {{core_node24_recovering}} and {{core_node24}} should be always equals to each other. The reason here is {{ZkShardTerms.ensureTermsIsHigher}} also increase the {{core_node24_recovering}} is a higher number. This will lead to a case when a replica finished recovering but it won't be able to become active. )

> Raft term of a replica is set equals to leader even it failed to receive update on recovering
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12433
>                 URL: https://issues.apache.org/jira/browse/SOLR-12433
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Cao Manh Dat
>            Assignee: Cao Manh Dat
>            Priority: Major
>




--
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