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

RecoveryStrategy should not publish any state when closed / cancelled.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.10.4, 5.0, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently, when closed / cancelled, RecoveryStrategy can publish a recovery failed state. In a bad loop (like when no one can become leader because no one had a last state of active) this can cause very fast looped publishing of this state to zk.

      It's an outstanding item to improve that specific scenario anyway, but regardless, we should fix the close / cancel path to never publish any state to zk.

        Attachments

        1. SOLR-7033.patch
          4 kB
          Mark Miller
        2. SOLR-7033.patch
          13 kB
          Mark Miller
        3. SOLR-7033.patch
          11 kB
          Mark Miller
        4. SOLR-7033.patch
          9 kB
          Mark Miller
        5. SOLR-7033.patch
          3 kB
          Mark Miller

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: