Project

General

Profile

Actions

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.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Release:
luminous
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 1 (0 open1 closed)

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

Actions
Actions #1

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

Updated by Prashant D about 4 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.

Actions #3

Updated by Prashant D about 4 years ago

  • Project changed from Ceph to RADOS
Actions #4

Updated by Prashant D about 4 years ago

We need backporting of PR 16745 and subsequent PRs. Refer original tracker #17730 for adding support to repair leveldb/rocksdb.

Actions #5

Updated by Prashant D about 4 years ago

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

Updated by Kefu Chai about 4 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
Actions #7

Updated by Nathan Cutler about 4 years ago

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

Updated by Nathan Cutler about 4 years ago

  • Release set to luminous
Actions #10

Updated by Nathan Cutler about 4 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)

Actions

Also available in: Atom PDF