]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
osd/scrub: destruct the scrubber shortly before the PG is destructed
authorRonen Friedman <rfriedma@redhat.com>
Thu, 26 Aug 2021 12:30:38 +0000 (12:30 +0000)
committerRonen Friedman <rfriedma@redhat.com>
Sat, 28 Aug 2021 10:24:49 +0000 (13:24 +0300)
commitbcd13e134c1f335506e425800170d55cd8a2af1b
tree1948a5b6bcc3a05e08ce45bb8130feda0da7a1ba
parent96870e88bfe4972d0931185815d1a00bf239c12e
osd/scrub: destruct the scrubber shortly before the PG is destructed

By destructing the scrubber when the PG is still intact, we guarantee that
Scrubber's code can refer to the PG object - especially in dout()s.

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
src/osd/PrimaryLogPG.cc
src/osd/PrimaryLogPG.h