Caideyipi commented on PR #18441: URL: https://github.com/apache/iotdb/pull/18441#issuecomment-5392228020
Applied in 6f468b50e01.\n\n1. oTabletInsertionEvents() now marks generation start and returns an iterator wrapper that closes the generation boundary only when the iterable is exhausted (or parsing fails). The transfer hook requires the TsFile commit, the generation boundary, and all registered generated tablets to be transferred or discarded. The API Javadoc documents that asynchronous processors must eventually exhaust the iterable.\n\n2. Added discard accounting/hooks for supplied TsFiles and registered generated tablets. clearReferenceCount() now compensates the realtime source's inFlightTsFileCount; generated-tablet outcomes are idempotent, and registration happens before queue publication to avoid a cleanup race.\n\nAdded regression tests for deferred generation and direct TsFile/generated-tablet discard paths. Spotless, checkstyle, diff checks, and pipe-api test-compile pass. Full datanode test-compile is currently blocked by pre-existing generated-source/dependency errors (commons-collections4, IFill/LinearFill) in this workspace. -- 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]
