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

   ## Description
   
   Parser admission failures could leave processor workers asleep until the 
next polling interval, delaying events behind the fair admission queue. This 
change wakes the relevant worker when a parser reservation becomes eligible 
while preserving queue ordering.
   
   ### Changes
   
   - Associate pending parser reservations with their processor worker wake-up 
callback.
   - Signal only the next eligible pipe-region reservation after admission 
state changes.
   - Reuse a single memory budget snapshot during admission checks.
   - Expose counters and gauges for admission rejects, yields, wait time, 
in-flight reservations, and waiting reservations.
   - Add unit coverage for notification ordering, lost wake-ups, and many 
waiting pipes.
   
   ### Validation
   
   - mvn -pl iotdb-core/datanode -am 
-Dtest=PipeProcessorSubtaskExecutionGuardTest,PipeProcessorSubtaskWorkerTest,PipeMemoryManagerTest
 -Dsurefire.failIfNoSpecifiedTests=false -DfailIfNoTests=false test
   - git diff --check
   
   ## Checklist
   
   - [x] Self-reviewed.
   - [x] Added or updated unit tests for the changed behavior.


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