Backport #44070
luminous: Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store
Description
In some cases like ceph cluster upgrade or due to filesystem issue, the leveldb/rocksdb gets corrupted which can cause mon down situation. The leveldb does provide python APIs to try repair, we should add repair functionality in ceph-kvstore-tool
Related issues
History
#1 Updated by Prashant D over 3 years ago
- Subject changed from [Mon] Add builtin functionality in ceph-monstore-tool to repair corrupted key-value store to Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store
- Status changed from New to Closed
#2 Updated by Prashant D over 3 years ago
- Tracker changed from Feature to Backport
- Description updated (diff)
- Status changed from Closed to New
We seems to have it in ceph-kvstore-tool as "destructive-repair" option ? Is this option does leveldb/rocksdb repair? If yes, need backporting of this in luminous.
#3 Updated by Prashant D over 3 years ago
- Project changed from Ceph to RADOS
#4 Updated by Prashant D over 3 years ago
We need backporting of PR 16745 and subsequent PRs. Refer original tracker #17730 for adding support to repair leveldb/rocksdb.
#5 Updated by Prashant D over 3 years ago
- Description updated (diff)
- Status changed from New to In Progress
#6 Updated by Kefu Chai over 3 years ago
- Subject changed from Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store to luminous: Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store
- Assignee set to Kefu Chai
#7 Updated by Nathan Cutler over 3 years ago
- Copied from Feature #17730: use leveldb_repair_db()/rocksdb_repair_db() to repair leveldb corruptions added
#8 Updated by Nathan Cutler over 3 years ago
- Release set to luminous
#9 Updated by Yuri Weinstein over 3 years ago
#10 Updated by Nathan Cutler over 3 years ago
- Status changed from In Progress to Resolved
- Target version set to v12.2.14
This update was made using the script "backport-resolve-issue".
backport PR https://github.com/ceph/ceph/pull/33195
merge commit 9cdee92ef873c9b0eeea603a0eeef440ad1c86be (v12.2.13-15-g9cdee92ef87)