Caideyipi opened a new pull request, #17907: URL: https://github.com/apache/iotdb/pull/17907
This PR fixes flaky procedure lock wait scheduling by moving LOCK_EVENT_WAIT enqueueing into a procedure hook instead of hard-casting ProcedureExecutor to ConfigNodeProcedureEnv. It also updates the test scheduler to enqueue waiting procedures only after the current execution attempt completes. Tests: mvn -pl iotdb-core/confignode -am -Dtest=TestLockRegime#testAcquireLock -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false test; mvn -pl iotdb-core/confignode -Dtest=TestLockRegime#testAcquireLock test -- 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]
