JackieTien97 opened a new pull request, #17919: URL: https://github.com/apache/iotdb/pull/17919
## Summary - Track ready queue reservations on each DriverTask to avoid leaking reserved slots when a READY task is aborted after being polled. - Release reservations only for tasks that actually own one, and expose ready_queue_reserved_task_count alongside ready_queue_task_count. - Add a regression test for the abort-after-poll race. ## Tests - ./mvnw test -pl iotdb-core/datanode -am -Dtest=DefaultDriverSchedulerTest#testAbortReadyTaskAfterPollReleasesReadyQueueReservation -DfailIfNoTests=false -Dsurefire.failIfNoSpecifiedTests=false -- 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]
