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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment