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

support allow_ingest_behind with level compaction #6493

Open
ajkr opened this issue Mar 6, 2020 · 0 comments
Open

support allow_ingest_behind with level compaction #6493

ajkr opened this issue Mar 6, 2020 · 0 comments
Assignees
Labels
bug Confirmed RocksDB bugs

Comments

@ajkr
Copy link
Contributor

ajkr commented Mar 6, 2020

Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev

Expected behavior

When allow_ingest_behind is set, automatic level compactions should not write output files to the bottom level (ColumnFamilyOptions::num_levels - 1). That way, a sorted run of files can be ingested behind without conflict.

Actual behavior

Files are written to the bottom level by level compaction, which can cause overlap even for ingest-behind of non-overlapping files: Invalid argument: Can't ingest_behind file as it doesn't fit at the bottommost level!

@ajkr ajkr added up-for-grabs Up for grabs bug Confirmed RocksDB bugs labels Mar 6, 2020
@cbi42 cbi42 self-assigned this May 24, 2023
@cbi42 cbi42 removed the up-for-grabs Up for grabs label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed RocksDB bugs
Projects
None yet
Development

No branches or pull requests

2 participants