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

Race condition in TestPullReplicaErrorHandling

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:

      Description

      See discussion at https://github.com/apache/lucene-solr/pull/2115#discussion_r534445545

      There is a race condition in two tests in TestPullReplicaErrorHandling where we expire a ZK session, then wait for a node down and a node up. It's possible that the node recovers before we even start waiting for the first down.

      Better would be to set a watch on the live-node that we're about to expire, and wait to see the delete before checking for the node to come back up.

      cc: Tomas Eduardo Fernandez Lobbe

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mdrob Mike Drob

              Dates

              • Created:
                Updated:

                Issue deployment