Skip to content

[client] Close Arrow read context after LIMIT log scan - #4356

Open
EchoLee5 wants to merge 1 commit into
apache:mainfrom
EchoLee5:fix-4353-limit-scanner-leak
Open

EchoLee5 wants to merge 1 commit into
apache:mainfrom
EchoLee5:fix-4353-limit-scanner-leak

Conversation

@EchoLee5

Copy link
Copy Markdown

Summary

Test Plan

  • LimitBatchScannerTest.pollBatchClosesArrowReadContextSoScannerCloseSucceeds
  • ./mvnw test -Dtest=LimitBatchScannerTest -pl fluss-client -am

🤖 AI-assisted changes - reviewed by human developer

Made with Cursor

LimitBatchScanner dropped LogRecordReadContext after parsing Arrow
batches, leaking the allocator on every log-table LIMIT scan.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[client] LimitBatchScanner leaks Arrow read context on log-table LIMIT scan

1 participant