Project

General

Profile

Bug #24236

cephfs-journal-tool: journal inspect reports DAMAGED for purge queue when it's empty

Added by cory gu 7 months ago. Updated 7 months ago.

Status:
Need Review
Priority:
High
Assignee:
Category:
ceph cli
Target version:
Start date:
05/23/2018
Due date:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

When purge queue is empty, joural inspect still report DAMAGED
journal integrity.

History

#1 Updated by cory gu 7 months ago

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

#2 Updated by Patrick Donnelly 7 months ago

  • 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

#3 Updated by Patrick Donnelly 7 months ago

  • Status changed from New to Need Review

Also available in: Atom PDF