Project

General

Profile

Actions

Bug #13533

closed

PG: shall finish scrub ahead of time if no more objects is available in NEW_CHUNK state.

Added by xie xingguo over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

void PG::chunky_scrub(ThreadPool::TPHandle &handle)
...

// special case: reached end of file store, implicitly a boundary
if (objects.empty()) {
break;
}

See above, if all objects have been scrubbed, we shall finish scrub ahead of time instead of continuing perform an redundant scrub, which can make scrub less efficient.

Actions

Also available in: Atom PDF