Project

General

Profile

Backport #44070

luminous: Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store

Added by Prashant D about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Release:
luminous
Crash signature:

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


Related issues

Copied from Ceph - Feature #17730: use leveldb_repair_db()/rocksdb_repair_db() to repair leveldb corruptions Resolved

History

#1 Updated by Prashant D about 2 months 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 about 2 months 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 about 2 months ago

  • Project changed from Ceph to RADOS

#4 Updated by Prashant D about 2 months 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 about 2 months ago

  • Description updated (diff)
  • Status changed from New to In Progress

#6 Updated by Kefu Chai about 2 months 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 about 2 months ago

  • Copied from Feature #17730: use leveldb_repair_db()/rocksdb_repair_db() to repair leveldb corruptions added

#8 Updated by Nathan Cutler about 2 months ago

  • Release set to luminous

#10 Updated by Nathan Cutler about 1 month 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)

Also available in: Atom PDF