Szabolcs Gál created HDDS-11500:
-----------------------------------
Summary: 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
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]