]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: do not assume delete event means found_missing
authorSage Weil <sage@redhat.com>
Tue, 26 Jun 2018 02:08:48 +0000 (21:08 -0500)
committerNathan Cutler <ncutler@suse.com>
Wed, 4 Jul 2018 23:03:34 +0000 (01:03 +0200)
commit6475c9d55a0cb79d7e906067d894dec20b0639d5
treef0173ff8167f0a03a2ea43ede92d90c6fd88ae82
parent9ebf2d00f6b7deaf8600b24368c07e2b0719ae18
osd/PG: do not assume delete event means found_missing

This condition was introduced in 3a9d056d843bcafd26d78950b84e2844f8a3a9a1
as part of the missing deletes series, without a clear motivation.  The
best guess is that it was either compensating for some other unfound bug
or simply being a bit overaggressive.

The problem is that it triggers a notify being sent to the sender, or
restarts recovery, both of which are overreactions.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 81d918d449f0211c8eac262e700930473f6e98a3)
src/osd/PG.cc