]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: do not simplify fragset 54895/head
authorMilind Changire <mchangir@redhat.com>
Mon, 25 Sep 2023 12:49:50 +0000 (18:19 +0530)
committerMilind Changire <mchangir@redhat.com>
Thu, 14 Dec 2023 06:32:28 +0000 (12:02 +0530)
commitb388fbd46f47f41012e0bbb72494d25ae691ec1e
tree49f3bccd5dc93e508109f9e5383255a78415882f
parente8843e3b7e560eac5beb4dccee759ccd8c6277b4
mds: do not simplify fragset

Problem:
Frags in simplified fragset aren't found as is on the replica during scrub.

fragset::simplify() computes the bit representation of the least common
ancestor of the frags.  When this representation is forwarded to the replicas,
the ScrubStack::handle_scrub() method in the OP_QUEUEDIR case simply searches
this simplified representation in the list of (unsimplified) frags ...
which it fails to find.
Hence we get to see the "no frag 10*" type of logs.

Solution:
Do not simplify fragset when forwarding fragset to replica for scrub.

Fixes: https://tracker.ceph.com/issues/62658
Signed-off-by: Milind Changire <mchangir@redhat.com>
(cherry picked from commit f3c0424bb583423db80009c29f73e484aad840b4)
src/mds/ScrubStack.cc