]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: set forwarded message recv stamp 436/head
authorSage Weil <sage@inktank.com>
Sat, 13 Jul 2013 04:52:30 +0000 (21:52 -0700)
committerSage Weil <sage@inktank.com>
Mon, 15 Jul 2013 20:42:54 +0000 (13:42 -0700)
commit34f76bd915bd35e638a306c0a8d3e062abcbec6a
tree7bc6de459675b4863a5aa3140ca15d08065b6b5a
parenteac559f47460ff59b580862b89c7c4fe8c48e3ca
mon: set forwarded message recv stamp

Set it to the stamp of the MForward that carried us.  One could argue
we really want the original receive stamp on the origin, but that is
not available to us, and this is better than nothing.

In particular, this gives 'ceph log ...' commands a timestamp when they
are forwarded via a peon.  The stamp is still between when the request
is sent and when it is committed/acked, so all is well from the
client's perspective.

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