Skip to content

fix: release global index writer before reader to avoid mem issue when write index failed#398

Merged
lxy-9602 merged 4 commits into
alibaba:mainfrom
lxy-9602:fix-global-index-write
Jul 3, 2026
Merged

fix: release global index writer before reader to avoid mem issue when write index failed#398
lxy-9602 merged 4 commits into
alibaba:mainfrom
lxy-9602:fix-global-index-write

Conversation

@lxy-9602

@lxy-9602 lxy-9602 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Purpose

No Linked issue.

Keep batch_reader alive until global_index_writer is destroyed because some index writers may retain Arrow arrays imported from reader-produced batches.

Tests

API and Format

Documentation

Generative AI tooling

@zjw1111 zjw1111 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@lxy-9602 lxy-9602 merged commit 9012f0a into alibaba:main Jul 3, 2026
9 checks passed
lxy-9602 added a commit to lxy-9602/paimon-cpp that referenced this pull request Jul 3, 2026
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.

2 participants