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

share filemeta reference counter when trivial move #288

Closed
wants to merge 3 commits into from

Conversation

tabokie
Copy link
Member

@tabokie tabokie commented May 20, 2022

A simpler solution than #250. Use shared_ptr for maintaining the reference of the same physical file, but still allow for multiple filemeta of the same file number. This way we don't have to modify compaction score calculation.

Signed-off-by: tabokie xy.tao@outlook.com

Only enable force option check when reading options file from lower version.

Signed-off-by: tabokie <xy.tao@outlook.com>
Signed-off-by: tabokie <xy.tao@outlook.com>
…)"

This reverts commit c92ff87.

Signed-off-by: tabokie <xy.tao@outlook.com>
@tabokie tabokie closed this Jun 6, 2022
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