[
https://issues.apache.org/jira/browse/HDDS-11500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai reassigned HDDS-11500:
---------------------------------------
Assignee: Szabolcs Gál
> Fix RootCARotationManager cancelling wrong task in notifyStatusChanged
> ----------------------------------------------------------------------
>
> Key: HDDS-11500
> URL: https://issues.apache.org/jira/browse/HDDS-11500
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: Szabolcs Gál
> Assignee: Szabolcs Gál
> Priority: Major
> Fix For: 1.5.0
>
>
> 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.
> {code:java}
> if (waitAckTask != null) {
> waitAckTask.cancel(true);
> }
> if (waitAckTimeoutTask != null) {
> waitAckTask.cancel(true);
> }{code}
> The second task cancelled here should be the waitAckTimeoutTask.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]