Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-53

Error state recording in ClusteredMCMPHandler can cause unnecessary reset requests

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.0.Beta4
    • 1.0.0.Beta3
    • None
    • None

    Description

      Change List<Boolean> to a AtomicReference<ResetState>, where ResetState is:
      enum ResetState

      { NONE, REQUIRED, PENDING }

      Reset is necessary if state == ResetState.REQUIRED

      Recording the initiation of a reset set the state to ResetState.PENDING
      Recording the completion of a reset changes the state to NONE, only if the state is still ResetState.PENDING

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            pferraro@redhat.com Paul Ferraro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: