]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: commit LogSummary on every message 234/head
authorSage Weil <sage@inktank.com>
Mon, 22 Apr 2013 22:01:09 +0000 (15:01 -0700)
committerSage Weil <sage@inktank.com>
Mon, 22 Apr 2013 22:12:22 +0000 (15:12 -0700)
commitb33fae4ea17f459ca545b37bab3abedaed2cb6b8
treea2338f1401535c352662344848631d11b928c07f
parent59d6953ca05ec05dcf5c36d3e4c370169dea4558
mon: commit LogSummary on every message

This moves our version pointer up so that we don't re-log (by re-consuming)
log messages to /var/log/ceph/ceph.log on ceph-mon restart.  OTOH, it means
we rewrite the summary of the last 50 messages, but we consider that to be
relatively cheap (and something we *always* did prior for bobtail and
earlier anyway).

Signed-off-by: Sage Weil <sage@inktank.com>
src/mon/LogMonitor.h
src/mon/PaxosService.h