]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/PG: discard msgs from down peers 17501/head
authorKefu Chai <kchai@redhat.com>
Thu, 24 Aug 2017 08:04:54 +0000 (16:04 +0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 5 Sep 2017 15:21:31 +0000 (17:21 +0200)
commitac4cb6dd41adfc549d064756215421c33368dc86
treefd8819c062186dac8e3d02a6bc9fcb3d29f1eb96
parent823585311c41729309809690a7df5cb83c4ece12
osd/PG: discard msgs from down peers

if a repop is replied after a replica goes down in a new osdmap, and
before the pg advances to this new osdmap, the repop replies before this
repop can be discarded by that replica OSD, because the primary resets the
connection to it when handling the new osdmap marking it down, and also
resets the messenger sesssion when the replica reconnects. to avoid the
out-of-order replies, the messages from that replica should be discarded.

Fixes: http://tracker.ceph.com/issues/19605
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit e3fce6be44506168a7a138aab93f6a4d6776397b)
src/osd/PG.cc