]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msgr: do not discard_queue in Pipe reaper
authorSage Weil <sage@inktank.com>
Tue, 17 Jul 2012 22:30:11 +0000 (15:30 -0700)
committerSage Weil <sage@inktank.com>
Sat, 21 Jul 2012 01:36:32 +0000 (18:36 -0700)
commit525830cd0bf9017fe65a52e5e62b483bbb6543b1
treeeff9de5a1bb20310fa10f43f95c6d8fb84598992
parent8966f71ae5d51424713974399e51c9b768f62169
msgr: do not discard_queue in Pipe reaper

The IncomingQueue can live beyond the Pipe.  In particular, there is no
reason not to deliver messages we've received on this connection even
though the socket has errored out.

Separate incoming queue discard from outgoing, and only do the latter in
the reaper.

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