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

   ## Description
   
   Backports [Apache IoTDB PR 
#19217](https://github.com/apache/iotdb/pull/19217) to the 1.3 line.
   
   With four parser slots free, four queued pipes on one serial processor 
worker can occupy all four turns in the fair admission window before requests 
from other workers are considered. Since a worker runs subtasks serially, the 
other workers wait while parser slots remain idle. The admission window now 
selects distinct available workers and accounts for each worker's active 
reservation. Releasing a parser uses its reservation key, so out-of-order 
completion within a pipe and DataRegion releases the correct worker. Requests 
without a processor worker remain independent, and the existing memory 
thresholds, global and per-pipe-region limits, and pipe fairness remain in 
place.
   
   ## Validation
   
   - `mvn spotless:apply -P with-integration-tests -pl iotdb-core/datanode` 
passed.
   - A clean reactor test build completed for `iotdb-core/datanode` and its 
IoTDB dependencies. `PipeMemoryManagerTest` passed 20 tests and 
`PipeProcessorSubtaskWorkerTest` passed 9 tests, with no failures, errors, or 
skips.
   
   ## Backport Note
   
   The new worker regression test uses the existing 1.3 worker constructor in 
place of a helper available on the source branch; its setup and assertions are 
unchanged.
   


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