Feature #21888
Adding [--repair] option for cephfs-journal-tool make it can recover all journal as much as possible.
% Done:
0%
Source:
Community (user)
Tags:
Backport:
Reviewed:
Description
As described in the document if a journal is damaged or for any reason an MDS is incapable of replaying it, attempt to recover what file metadata we can like so:
"cephfs-journal-tool event recover_dentries summary". I found a risk when research related code rencently which may lost journal log if it's damaged.The worse
case is if the length of journal is corrupt we may lost many journal.
Sample Graph
Of course if a journal data is corrupt we can throw it away, but if only the length or trailling is corrupt we should repair it as much as possible, in case of losting event.
History
#1 Updated by Ivan Guan over 5 years ago
#2 Updated by Jos Collin over 5 years ago
- Assignee changed from Jos Collin to Ivan Guan
Assigning to Ivan, as he had already submitted a PR for this Feature.
#3 Updated by Patrick Donnelly over 5 years ago
- Project changed from Ceph to CephFS
- Category deleted (
129) - Source set to Community (user)
- Component(FS) tools added
#4 Updated by Patrick Donnelly about 5 years ago
- Status changed from New to Fix Under Review
#5 Updated by Patrick Donnelly about 5 years ago
- Priority changed from Normal to High
- Target version changed from v13.0.0 to v14.0.0
- Backport set to mimic,luminous
#6 Updated by Patrick Donnelly about 4 years ago
- Target version changed from v14.0.0 to v15.0.0
#7 Updated by Patrick Donnelly about 4 years ago
- Backport changed from mimic,luminous to nautilus,mimic,luminous
- Pull request ID set to 18465
#8 Updated by Patrick Donnelly over 3 years ago
- Target version deleted (
v15.0.0) - Backport deleted (
nautilus,mimic,luminous)