Caideyipi opened a new pull request, #18368:
URL: https://github.com/apache/iotdb/pull/18368

   ## Description
   
   Follow-up to #18338.
   
   - Initialize `workerThreads` once as a final `CopyOnWriteArrayList` instead 
of publishing a mutable collection through a volatile reference.
   - Clear and repopulate the list during initialization.
   - Keep procedure metrics safe before and during ConfigNode leader 
initialization.
   
   ## Tests
   
   - `mvn -pl iotdb-core/confignode -Dtest=TestProcedureExecutor 
-Ddevelocity.off=true test` (9 tests)
   - Checkstyle and Spotless checks included in the Maven run
   - `git diff --check`


-- 
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]

Reply via email to