Actions
Bug #20855
closedwal_dir mismatch bewteen rocksdb's impl and bluestore's env
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
That we call rocksdb::RepairDB on bluestore's db will get a core dump. the reason is that we put wal&minifest on BDEV_WAL and db_paths contains only BDEV_DB & BDEV_SLOW, but rocksdb::RepairDB assert that wal&manifest always on the first directory of db_paths.
additionally, rocksdb has a option called wal_dir. we do not use wal_dir in our implementation. it seems that rocksdb::RepairDB also has a bug that it doesn't know wal&manifest could be under wal_dir.
Actions