Backport #44070
closed
luminous: Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store
Added by Prashant D about 4 years ago.
Updated about 4 years ago.
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
https://github.com/ceph/ceph/pull/33195
- 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
- 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.
- Project changed from Ceph to RADOS
We need backporting of PR 16745 and subsequent PRs. Refer original tracker #17730 for adding support to repair leveldb/rocksdb.
- Description updated (diff)
- Status changed from New to In Progress
- 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
- Copied from Feature #17730: use leveldb_repair_db()/rocksdb_repair_db() to repair leveldb corruptions added
- Status changed from In Progress to Resolved
- Target version set to v12.2.14
Also available in: Atom
PDF