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

Leader may skip publish itself as ACTIVE even its last published state is DOWN

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4
    • Component/s: None
    • Labels:
      None

      Description

      Found this problem on beasting LeaderVoteWaitTimeout,

      • a replica publish itself as DOWN on RecoveryStrategy.pingLeader()
      • It won the election (by vote wait timeout) then skipping publish itself as ACTIVE (by looking into clusterstate, its state┬ástill ACTIVE).
      • ends up with a┬áleader with DOWN state!

      Therefore, replica should look into both clusterstate and its local last published state on skipping publish itself as ACTIVE

        Attachments

        1. SOLR-12214.patch
          5 kB
          Cao Manh Dat

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: