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

   A complete file published while the last active LOAD worker is retiring can 
remain pending until another file is enqueued. The scanner skips files already 
in the pending queue, leaving no runnable to process them.
   
   Track submitted loader tasks under the executor lifecycle lock, release each 
task reservation on completion, and recheck the queue before leaving. 
Completions from a stopped executor cannot restart loading or alter its 
replacement's task count. No production test hooks are added.
   
   Add focused regressions for the final empty-poll race, shutdown, and 
concurrent submissions, plus real-scanner integration tests for incomplete file 
publication, restart with mods, and listening-directory hot reload.
   
   Validation:
   - Clean build of the required 37-module reactor.
   - `ActiveLoadTsFileLoaderTest`: 7 passed, no failures, errors, or skips.
   - `IoTDBLoadTsFileActiveScanIT` with `ClusterIT`: 2 passed, no failures, 
errors, or skips.
   - Spotless and integration-test discovery/shard checks passed.
   
   Full test suites and Chinese-locale compilation were not run. Draft pending 
independent review.


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