[To dev/1.3] Pipe: Fix and improve async tsfile transfer error handling and logging (avoid client connection leak)#16125
Merged
Caideyipi merged 1 commit intoapache:dev/1.3from Aug 8, 2025
Conversation
…g (avoid client connection leak) (apache#16008) * Pipe: Fix and improve async tsfile transfer error handling and logging Refactored IoTDBDataRegionAsyncConnector to handle exceptions during asynchronous tsfile transfer more gracefully. Now logs warnings instead of errors, invokes onError on the handler, and provides more context in log messages. Added getTsFile() method to PipeTransferTsFileHandler for better logging, and ensured memoryBlock is set to null after closing to prevent potential resource leaks. * fix * fix * bald-logger --------- Co-authored-by: Caideyipi <87789683+Caideyipi@users.noreply.github.com>
Caideyipi
added a commit
to Caideyipi/iotdb
that referenced
this pull request
Sep 2, 2025
…ng and logging (avoid client connection leak) (apache#16008) (apache#16125) * Pipe: Fix and improve async tsfile transfer error handling and logging Refactored IoTDBDataRegionAsyncConnector to handle exceptions during asynchronous tsfile transfer more gracefully. Now logs warnings instead of errors, invokes onError on the handler, and provides more context in log messages. Added getTsFile() method to PipeTransferTsFileHandler for better logging, and ensured memoryBlock is set to null after closing to prevent potential resource leaks. * fix * fix * bald-logger --------- Co-authored-by: Steve Yurong Su <rong@apache.org>
JackieTien97
pushed a commit
that referenced
this pull request
Sep 2, 2025
…ng and logging (avoid client connection leak) (#16008) (#16125) * Pipe: Fix and improve async tsfile transfer error handling and logging Refactored IoTDBDataRegionAsyncConnector to handle exceptions during asynchronous tsfile transfer more gracefully. Now logs warnings instead of errors, invokes onError on the handler, and provides more context in log messages. Added getTsFile() method to PipeTransferTsFileHandler for better logging, and ensured memoryBlock is set to null after closing to prevent potential resource leaks. * fix * fix * bald-logger --------- Co-authored-by: Steve Yurong Su <rong@apache.org>
Caideyipi
added a commit
to Caideyipi/iotdb
that referenced
this pull request
Mar 25, 2026
…ng and logging (avoid client connection leak) (apache#16008) (apache#16125) * Pipe: Fix and improve async tsfile transfer error handling and logging Refactored IoTDBDataRegionAsyncConnector to handle exceptions during asynchronous tsfile transfer more gracefully. Now logs warnings instead of errors, invokes onError on the handler, and provides more context in log messages. Added getTsFile() method to PipeTransferTsFileHandler for better logging, and ensured memoryBlock is set to null after closing to prevent potential resource leaks. * fix * fix * bald-logger --------- Co-authored-by: Steve Yurong Su <rong@apache.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
As the title said.
This PR has:
for an unfamiliar reader.
for code coverage.
Key changed/added classes (or packages if there are too many classes) in this PR