Project

General

Profile

Actions

Feature #17730

closed

use leveldb_repair_db()/rocksdb_repair_db() to repair leveldb corruptions

Added by Kefu Chai over 7 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ceph cli
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
luminous
Reviewed:
Affected Versions:
Pull request ID:

Description

under some circumstances, leveldb could be corrupted after power outage or filesystem failures, some of the corruptions could be fixed by leveldb_repair_db()/rocksdb_repair_db() as reported by our user. see http://www.spinics.net/lists/ceph-users/msg32053.html.

we can expose this functionality via ceph-objectstore-tool and ceph-monstore-tool.


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #44070: luminous: Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value storeResolvedKefu ChaiActions
Actions #1

Updated by Chang Liu almost 7 years ago

kefu, I'm happy to do this. just let you know that I'm working on this. assign this issue to me, please. I will ping you if I need your help. thanks

Actions #2

Updated by Kefu Chai over 6 years ago

i will ask if Brad has any progress tomorrow. if not, i will assign this ticket to you. thanks.

Actions #3

Updated by Brad Hubbard over 6 years ago

Afraid I haven't gotten to this yet so I'm happy for Chang Liu to take it.

Actions #4

Updated by Kefu Chai over 6 years ago

  • Assignee deleted (Brad Hubbard)

Chang, you are not listed as "Developer" in http://tracker.ceph.com/projects/ceph. so i am removing Brad's assignment, but leaving it empty. you can contact any of the "Manager"s in the above webpage to get you added. so you can assign this ticket to yourself once you are added to the list of "Developer".

Actions #5

Updated by Kefu Chai over 6 years ago

  • Status changed from New to In Progress
Actions #6

Updated by Chang Liu over 6 years ago

  • Assignee set to Chang Liu
Actions #7

Updated by Marcus Watts over 6 years ago

Um, so how far along are we on this? I had a mon blow up on this, and had to build a copy of "ldb" to fix my setup (it was an "all-in-one" experimental environment so no redundancy.)

Actions #8

Updated by Kefu Chai over 6 years ago

  • Status changed from In Progress to Resolved
Actions #9

Updated by Nathan Cutler about 4 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to luminous
Actions #10

Updated by Nathan Cutler about 4 years ago

  • Copied to Backport #44070: luminous: Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store added
Actions #11

Updated by Nathan Cutler about 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF