]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
PG,ReplicatedPG: make missing_digests local to scrub_compare_maps 3739/head
authorSamuel Just <sjust@redhat.com>
Thu, 12 Feb 2015 22:54:10 +0000 (14:54 -0800)
committerSamuel Just <sjust@redhat.com>
Thu, 12 Feb 2015 23:58:49 +0000 (15:58 -0800)
commit280a19817dda0f312d165f5851b420f28ab747c3
tree2a0a9637642b24dbf76b28114ad0fed733d51d5e
parent14dbe1ded294277bd75b3d4c128c73e3c1daf860
PG,ReplicatedPG: make missing_digests local to scrub_compare_maps

We don't want/need to carry this state between scrub stages, so lets
remove the tempation by simply making it a local to scrub_compare_maps.

This caused a bug where we would attempt to write out the
missing_digests from the previous chunk during all future chunks, which
caused trouble.

Fixes: 10840
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/PG.cc
src/osd/PG.h
src/osd/ReplicatedPG.cc
src/osd/ReplicatedPG.h