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

   ## What is changed?
   
   The accumulation/config-reload changes from #18501 are preserved, but the 
dispatcher no longer sleeps for the full accumulation interval after a batch 
has already filled. It now waits on the pending-entry queue with a deadline and 
stops immediately when the configured entry limit is reached.
   
   This removes the sustained-write throughput regression in IoTConsensus; 
IoTv2 does not use this dispatcher path. A regression test covers the 
full-batch case.
   
   ## How Has This Been Tested?
   
   - mvn -pl iotdb-core/consensus -Dtest=LogDispatcherTest test
   - mvn -pl iotdb-core/consensus test (fails in unrelated 
IoTConsensusRPCServiceProcessorTest.testMissingConsensusGroupReturnsSpecificStatus:
 expected 2206, actual 305)
   - mvn spotless:apply -pl iotdb-core/consensus
   - 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