]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: discard messages from disconnected clients
authorSage Weil <sage@inktank.com>
Fri, 31 May 2013 05:52:21 +0000 (22:52 -0700)
committerSage Weil <sage@inktank.com>
Sat, 1 Jun 2013 00:05:17 +0000 (17:05 -0700)
commitfb3cd0c2a8f27a1c8d601a478fd896cc0b609011
tree63233a970574d08e0a37f7970f2a9577273b3324
parent6b8e74f0646a7e0d31db24eb29f3663fafed4ecc
mon: discard messages from disconnected clients

If the client is not connected, discard the message.  They will
reconnect and resend anyway, so there is no point in processing it
twice (now and later).

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