]> 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 36593/head
authorGreg Farnum <gfarnum@redhat.com>
Wed, 12 Aug 2020 23:44:11 +0000 (23:44 +0000)
committerGreg Farnum <gfarnum@redhat.com>
Thu, 20 Aug 2020 19:31:52 +0000 (19:31 +0000)
commit73a014fc2ca928eb72def31c9e4177063cda421a
tree76df65ab2f0caed7b46dbc83917421ead8904152
parent02fc51deb7f3f635fef41321da03283b165eb7ef
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>
src/mon/OSDMonitor.cc