use leveldb_repair_db()/rocksdb_repair_db() to repair leveldb corruptions
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.
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
i will ask if Brad has any progress tomorrow. if not, i will assign this ticket to you. thanks.
Afraid I haven't gotten to this yet so I'm happy for Chang Liu to take it.
- Assignee deleted (
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".
- Status changed from New to In Progress
- Assignee set to Chang Liu
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.)
- Status changed from In Progress to Resolved
- Status changed from Resolved to Pending Backport
- Backport set to luminous
- Copied to Backport #44070: luminous: Add builtin functionality in ceph-kvstore-tool to repair corrupted key-value store added
- 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