]> git-server-git.apps.pok.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>
Wed, 24 Jul 2013 23:20:36 +0000 (16:20 -0700)
commit48105a32605aa59b6970eb89fce4ecc4201e8d04
tree741cae6c374b901caaf6fea6e40aac0687a4fe0b
parent1eab069017ce6b71e4bc2bb9679dbe31b50ae938
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>
(cherry picked from commit 495ee108dbb39d63e44cd3d4938a6ec7d11b12e3)
src/msg/Pipe.cc