Sammi Chen created HDDS-14855:
---------------------------------
Summary: Add synchronization in ThrottledAsyncChecker#schedule to
avoid schedule multiple times for same target
Key: HDDS-14855
URL: https://issues.apache.org/jira/browse/HDDS-14855
Project: Apache Ozone
Issue Type: Bug
Reporter: Sammi Chen
Assignee: Sammi Chen
ThrottledAsyncChecker has checksInProgress and completedChecks to track the
check task in running, and the lastest check task result, while both have
thread unsafe data type.
Synchronization is added when element is removed from checksInProgress and
completedChecks, but there is no synchronization when element in added during
schedule() call.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]