-
Notifications
You must be signed in to change notification settings - Fork 492
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
Enable rocksdb.enable_blob_files will cause blob files leak #2604
Comments
@sryanyuan Thanks for your information. Will keep an eye on this issue and apply it in Kvrocks ASAP. |
The same problem with kvrocks 2.10.0 and rocksdb.enable_blob_files=yes:
|
@ilyaevseev Thanks for your investigation. We would like to have a patch release in a few days. Should we revert the RocksDB to 8.11.4 in this patch release as well? @apache/kvrocks-committers |
Yeah I think we can use rocksdb 8.11 in 2.10.1. |
Also in the future maybe we can expose |
Is RocksDB 8.11 compatible with 9.x by data formats? |
From here for forward compatibility it said that:
So I think we can do some experiments before we do the downgrade. cc @git-hulk I prefer v9.3.1 than v8.11 since v8 seems a far big downgrade. cc @mapleFU |
@PragmaTwice Downgrade to 9.3.1 is also good to me since this issue was first introduced in RocksDB 9.4.0 |
I agree downgrade to 9.3.1 |
Search before asking
Version
centos 7.9/5.10.109-1.el7.x86_64,kvrocks 2.10.0
Minimal reproduce step
Enabling rocksdb.enable_blob_files and continuing writing data with ttl will cause disk full finally. By checking the file descriptors of the kvrocks process, we can determine that many blob files have been deleted but are still open by kvrocks.
What did you expect to see?
disk usage stable
What did you see instead?
disk full finally
Anything Else?
We checked the issue list of rocksdb, the issue may be related to this. The recent release version 2.10.0, which upgraded rocksdb to 9.6.1, may pose a potential risk for users of old versions who have the option rocksdb.enable_blob_files enabled.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: