-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Add option to disable rocksdb compaction #9011
Add option to disable rocksdb compaction #9011
Conversation
This does make sense to me. Currently, compaction is being called within the Rust code AND automatically within RocksDB. Don't need to compact twice. Are you disabling the automated compaction too with this option? Let me know when you are ready and I can try this branch on my TdS node. |
7a58e30
to
d5bf863
Compare
0a7f000
to
a735c62
Compare
That's right, we have both manual and automatic compaction going with the default settings. This flag would just turn off the manual compaction, I'm hoping the automatic compaction is better tested. It seems less aggressive though, so the user would probably need more free disk space. |
a735c62
to
3ab08e5
Compare
3ab08e5
to
d569cdd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One more nit. Rename no_rocks_db_compaction
-> no_rocksdb_compaction
, and no-rocks-db-compaction
-> no-rocksdb-compaction
? We don't say rocks db, we say rocksdb.
d569cdd
to
23a9064
Compare
23a9064
to
c0803a8
Compare
Ok, changed to that. |
Problem
Crashes with rocksdb compaction.
#9009
Summary of Changes
Add option to disable manual compaction.
Fixes #