Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-11500

RootCARotationManager cancelling wrong task in notifyStatusChanged

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • None
    • None

    Description

      Currently in RootCaRotationManager when RotationStatus changes (SCM steps down from leader role for example) the waitAckTimeoutTask is never cancelled, instead the waitAckTask is cancelled twice.

       if (waitAckTask != null) {
         waitAckTask.cancel(true);
       }
       if (waitAckTimeoutTask != null) {
         waitAckTask.cancel(true);
       }

      The second task cancelled here should be the waitAckTimeoutTask.

      Attachments

        Activity

          People

            sgal Szabolcs Gál
            sgal Szabolcs Gál
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: