Project

General

Profile

Actions

Bug #24073

closed

PurgeQueue::_consume() could return true when there were no purge queue item actually executed.

Added by Xuehan Xu almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (dev)
Tags:
Backport:
luminous
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

In our online clusters, we encountered the bug #19593. Although we cherry-pick the fixing commits, the purge queue's journal is already damaged. When trying to repair the journal, we found that the journal's head has not been updated for a long time, which is caused by PurgeQueue::_consume() method always returning true. So we think it might be necessary for this method to return false when there were actually no purge queue item executed, even if the bug #19593 is fixed. After all, there could be other bugs that could damage the journal.


Related issues 2 (0 open2 closed)

Related to CephFS - Bug #19593: purge queue and standby replay mdsResolvedZheng Yan04/12/2017

Actions
Copied to CephFS - Backport #24107: luminous: PurgeQueue::_consume() could return true when there were no purge queue item actually executed.ResolvedPrashant DActions
Actions

Also available in: Atom PDF