Bug #40530
Scrub reserves from actingbackfill put waits for acting
Status:
Resolved
Priority:
Normal
Assignee:
David Zafman
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Scrub sends requests to actingbackfill shards, but waits for only acting.size() grants. This happens when a PG is remapped causing scrub to start possibly before granted a reservation from all acting which is what is required. This causes an extra PG::sched_scrub() call which finds the PG already scrubbing.
I added ceph_assert(!is_scrubbing()); to PG::sched_scrub() which triggered multiple times in a rados suite run.
History
#1 Updated by David Zafman over 4 years ago
- Status changed from In Progress to Resolved
The fix for this was included in https://github.com/ceph/ceph/pull/28334 for tracker #40073