Bug #24236
open
cephfs-journal-tool: journal inspect reports DAMAGED for purge queue when it's empty
Added by cory gu almost 6 years ago.
Updated about 3 years ago.
Description
When purge queue is empty, joural inspect still report DAMAGED
journal integrity.
https://github.com/ceph/ceph/pull/22146
before fix, in a new created cluster fs, run:
$cephfs-journal-tool --journal purge_queue journal inspect
2018-05-22 15:47:41.129 7f7ab8068a00 -1 Missing object 500.00000001
Overall journal integrity: DAMAGED
Objects missing:
0x1
Corrupt regions:
0x400000-ffffffffffffffff
because purge queue is empty, so no such object 500.00000001 exists.
after fix, run same cmd and output:
Overall journal integrity: OK
- Subject changed from cephfs-journal-tool: purge queue empty case need to be fixed to cephfs-journal-tool: journal inspect reports DAMAGED for purge queue when it's empty
- Assignee set to cory gu
- Priority changed from Normal to High
- Target version set to v14.0.0
- Source set to Community (dev)
- Backport set to mimic,luminous
- Status changed from New to Fix Under Review
- Project changed from Ceph to CephFS
- Category deleted (
ceph cli)
Also available in: Atom
PDF