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 the wrong behavior when saving tags without calling any lazy_delete. #519

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

NingyuanChen
Copy link
Contributor

When there is no lazy_deletes called, _data_compacted will remain true, which will make compact_data no-op. However, save tags has the assumption that compact_data is called so that tags are in the right position.

Copy link
Contributor

@ltan1ms ltan1ms left a comment

Choose a reason for hiding this comment

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

great finding!

@NingyuanChen NingyuanChen merged commit 1de7ac4 into BANN_save_load_one_file Feb 29, 2024
5 of 39 checks passed
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