Project

General

Profile

Feature #17730

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

Added by Kefu Chai about 7 years ago. Updated almost 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

Copied to RADOS - Backport #44070: luminous: Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store Resolved

History

#1 Updated by Chang Liu over 6 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

#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.

#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.

#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".

#5 Updated by Kefu Chai over 6 years ago

  • Status changed from New to In Progress

#6 Updated by Chang Liu over 6 years ago

  • Assignee set to Chang Liu

#7 Updated by Marcus Watts about 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.)

#8 Updated by Kefu Chai about 6 years ago

  • Status changed from In Progress to Resolved

#9 Updated by Nathan Cutler almost 4 years ago

  • Status changed from Resolved to Pending Backport
  • Backport set to luminous

#10 Updated by Nathan Cutler almost 4 years ago

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

#11 Updated by Nathan Cutler almost 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".

Also available in: Atom PDF