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

It looks like ChaosMonkeySafeLeader test can fail with replica inconsistency because waitForThingsToLevelOut can pass while state is still changing.

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      If this passes and things have not actually leveled out yet, we do a strict check that fails without waiting as we wanted for a stable cluster.

      My quick fix has been to call waitForThingsToLevelOut, wait a couple seconds, then call it again. It's rare enough to hit this that I think that may bring the false cases below what we can see.

        Attachments

          Activity

            People

            • Assignee:
              markrmiller@gmail.com Mark Miller
              Reporter:
              markrmiller@gmail.com Mark Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: