From 254db9e723435c454332475f1272b0dc4f030b99 Mon Sep 17 00:00:00 2001 From: Galsza <109229906+Galsza@users.noreply.github.com> Date: Mon, 30 Sep 2024 15:14:53 +0200 Subject: [PATCH] HDDS-11500. RootCARotationManager cancelling wrong task in notifyStatusChanged (#7251) --- .../apache/hadoop/hdds/scm/security/RootCARotationManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/security/RootCARotationManager.java b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/security/RootCARotationManager.java index 2c979ce3717..fc7249462c4 100644 --- a/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/security/RootCARotationManager.java +++ b/hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/security/RootCARotationManager.java @@ -188,7 +188,7 @@ public void notifyStatusChanged() { waitAckTask.cancel(true); } if (waitAckTimeoutTask != null) { - waitAckTask.cancel(true); + waitAckTimeoutTask.cancel(true); } if (clearPostProcessingTask != null) { clearPostProcessingTask.cancel(true);