]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/Pipe: fix RECONNECT_SEQ behavior
authorSage Weil <sage@inktank.com>
Fri, 12 Jul 2013 23:21:24 +0000 (16:21 -0700)
committerSage Weil <sage@inktank.com>
Fri, 12 Jul 2013 23:21:24 +0000 (16:21 -0700)
commit495ee108dbb39d63e44cd3d4938a6ec7d11b12e3
treeae3ee33026b1f4ac80d75f78d5fcb406f7101605
parent48a2959867481632b83d9a63680c43102d693e5a
msg/Pipe: fix RECONNECT_SEQ behavior

Calling handle_ack() here has no effect because we have already
spliced sent messages back into our out queue.  Instead, pull them out
of there and discard.  Add a few assertions along the way.

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/msg/Pipe.cc