]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: mark pgtemp messages as no_reply more consistently in preprocess_pgtemp 37171/head
authorGreg Farnum <gfarnum@redhat.com>
Wed, 12 Aug 2020 23:44:11 +0000 (23:44 +0000)
committerNeha Ojha <nojha@redhat.com>
Tue, 15 Sep 2020 23:59:20 +0000 (23:59 +0000)
commita8bdd8eed937b89c921f51d8019076b05cc01764
treef25de5f4481dc286afa7f8e2d874c2bb1ed1fa63
parentdfc34d530aadcd64ef90cbb7b306ed5090807004
mon: mark pgtemp messages as no_reply more consistently in preprocess_pgtemp

If a message is forwarded, it's conceivable the leader's and peon's evaluation
will disagree about whether the message is useful or not, which could result
in the leader ignoring it and the peon having a dangling forwarded message.
Fix this by marking the op as no_reply whenever ignoring it.

Fixes: https://tracker.ceph.com/issues/46914
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 73a014fc2ca928eb72def31c9e4177063cda421a)
src/mon/OSDMonitor.cc