Bug #57855
closedcannot enable level_compaction_dynamic_level_bytes
0%
Description
create an osd with the following options.
[osd]
bluestore rocksdb cf = true
bluestore rocksdb options annex = max_subcompactions=3,level_compaction_dynamic_level_bytes=true
16.2.0 ~ 16.2.5 : can enable level_compaction_dynamic_level_bytes
16.2.6 ~ 16.2.10 : cannot enable level_compaction_dynamic_level_bytes
Updated by Beom-Seok Park over 1 year ago
I did some more digging on this and found that this PR was the cause.
https://github.com/ceph/ceph/pull/43100
Updated by Beom-Seok Park over 1 year ago
I found that the level_compaction_dynamic_level_bytes option does not apply if opt.db_paths exists when opening rocksdb's DB.
I don't know why.
Updated by Beom-Seok Park over 1 year ago
db_paths is not compatible with level_compaction_dynamic_level_bytes.
Updated by Igor Fedotov about 1 year ago
One should also switch bluestore volume selector to 'fit_to_fast' mode:
bluestore_volume_selection_policy=fit_to_fast
See also: https://github.com/ceph/ceph/pull/37156
Updated by Igor Fedotov about 1 year ago
- Status changed from Closed to New
Well, indeed level_compaction_dynamic_level_bytes mode can't be enabled with fit_to_fast selector if bluestore is equipped with a single main device.
Updated by Igor Fedotov about 1 year ago
- Status changed from New to Fix Under Review
- Pull request ID set to 50095
Updated by Yuri Weinstein about 1 year ago
Updated by Igor Fedotov about 1 year ago
- Status changed from Fix Under Review to Pending Backport
- Backport changed from quincy, pacific to reef, quincy, pacific
Updated by Backport Bot about 1 year ago
- Copied to Backport #59336: quincy: cannot enable level_compaction_dynamic_level_bytes added
Updated by Backport Bot about 1 year ago
- Copied to Backport #59337: reef: cannot enable level_compaction_dynamic_level_bytes added
Updated by Backport Bot about 1 year ago
- Copied to Backport #59338: pacific: cannot enable level_compaction_dynamic_level_bytes added
Updated by Igor Fedotov 6 months ago
- Status changed from Pending Backport to Resolved