Skip to content

revert: undo #221 (store.close flush)#232

Merged
rwmjhb merged 1 commit intomasterfrom
revert-221-flush-close
Mar 16, 2026
Merged

revert: undo #221 (store.close flush)#232
rwmjhb merged 1 commit intomasterfrom
revert-221-flush-close

Conversation

@rwmjhb
Copy link
Copy Markdown
Collaborator

@rwmjhb rwmjhb commented Mar 16, 2026

Summary

Reverts #221.

The stated root cause ("LanceDB writes are asynchronous and not flushed") is incorrect. importEntry() already awaits table.add(), so data is persisted when the Promise resolves. table.optimize() is a compaction/index operation, not a write flush. table.close() releases file handles, not data durability.

The change is not harmful but is based on a false premise and adds unnecessary code to the critical path.

@rwmjhb rwmjhb merged commit 4ade23f into master Mar 16, 2026
6 of 7 checks passed
Papyrus0 pushed a commit to Papyrus0/memory-lancedb-pro-fork that referenced this pull request Mar 20, 2026
…close() (CortexReach#221)" (CortexReach#232)

revert: undo CortexReach#221 - store.close() based on incorrect root cause
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.

1 participant