andyhuangdev opened a new pull request, #11824: URL: https://github.com/apache/ozone/pull/11824
## What changes were proposed in this pull request? A failed secret key poll currently stops all subsequent polls because the exception escapes the scheduled task. OM and datanodes continue signing tokens with the cached key, eventually causing token verification failures when that key expires, even after SCM recovers. This change catches and logs failures at the scheduled task boundary so polling continues at the next check. Manual refetch calls continue to propagate failures to their callers. ## What is the link to the Apache JIRA [HDDS-16960](https://issues.apache.org/jira/browse/HDDS-16960) ## How was this patch tested? A regression test was added first and confirmed to fail against the original implementation. It verifies that polling recovers after consecutive IOException, RuntimeException, and Error failures and updates the cached key. After the fix, all 39 selected secret key and token unit tests passed, including the existing manual refetch tests. The repository checkstyle script and git diff --check also passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
