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

   ### What changes were proposed in this pull request?\n\n- Fix the 
batch-accumulation condition so the dispatcher waits after buffering the first 
request when write pressure is low.\n- Make IoTConsensus configuration updates 
visible across dispatcher threads and propagate hot-reloaded limits to the 
existing dispatcher pipeline.\n- Update the IoTConsensus queue memory ratio on 
configuration reload.\n- Add unit coverage for batch accumulation, pipeline 
reload wake-up, and memory-ratio updates.\n\nThis is intentionally scoped to 
the lightweight, clearly incorrect paths; it does not claim to resolve every 
possible WAL/decompression performance issue.\n\n### Why are the changes 
needed?\n\nThe previous condition checked ufferedEntries.isEmpty() only after 
adding a request, so the accumulation wait was never reached. Existing 
dispatcher threads also retained stale reloadable limits.\n\n### How was this 
tested?\n\n- mvn -pl iotdb-core/consensus clean test (72 tests, 0 failures, 0 
errors)\
 n


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