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>
bool should_propose(double& delay);
+ bool should_stash_full() {
+ // commit a LogSummary on every commit
+ return true;
+ }
+
struct C_Log : public Context {
LogMonitor *logmon;
MLog *ack;
* @defgroup PaxosService_h_Stash_Full
* @{
*/
- bool should_stash_full();
+ virtual bool should_stash_full();
/**
* Encode a full version on @p t
*