Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: clear data and sst files after manifest flush #457

Draft
wants to merge 1 commit into
base: 2.0
Choose a base branch
from

Conversation

anshumankomawar
Copy link
Collaborator

Summary

Manifests currently include data from each write and do not remove data from previous writes. The issue is in the dataset writer flush method. Clearing sst_files and data_files after each flush ensures the manifest contains data from only that flush.

Testing

  • make test for existing tests.
  • added a test for MemtableDatasetWriter to highlight this bug.

Checklist

  • Unit tests covering the changes have been added

    • If this is a bugfix, regression tests have been added
  • E2E testing has been performed

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