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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.4
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: