Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
This jira to improve the StoragePolicySatisfyWorker#stop sequence of steps to improve the thread interruption and graceful shutdown quickly.
I have observed that TestDataNodeUUID#testUUIDRegeneration test case is getting timed out frequently. When analyzing, it looks like the below function is always taking 3 secs waiting period. Probably, we could improve the thread interruption sequence so that the thread should finish #run method quickly.
StoragePolicySatisfyWorker.java void waitToFinishWorkerThread() { try { movementTrackerThread.join(3000); } catch (InterruptedException ignore) { // ignore } }