Skip to content

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

Open
lxy-9602 wants to merge 4 commits into
alibaba:mainfrom
lxy-9602:fix-global-index-write
Open

fix: release global index writer before reader to avoid mem issue when write index failed#398
lxy-9602 wants to merge 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.

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