summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-11-17 14:10:34 -0800
committerSage Weil <sage@newdream.net>2011-11-17 14:10:34 -0800
commit367ab142d7bc938c5a8b40027acd2431a11c8022 (patch)
treedb811ae2351da095df3cddb5fe86aea291c522c9
parent6bc9a544b62bb21f6ee7ef51bfbe9111f7add9cb (diff)
downloadceph-367ab142d7bc938c5a8b40027acd2431a11c8022.tar.gz
paxos: store stashed state _and_ incrementals
Paxos::share_state() may share a stashed state and incrementals that follow; we need to store the same. Signed-off-by: Sage Weil <sage@newdream.net>
-rw-r--r--src/mon/Paxos.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mon/Paxos.cc b/src/mon/Paxos.cc
index 05a00038e4e..0a68fb0537b 100644
--- a/src/mon/Paxos.cc
+++ b/src/mon/Paxos.cc
@@ -199,7 +199,6 @@ void Paxos::store_state(MMonPaxos *m)
first_committed = last_committed;
mon->store->put_int(first_committed, machine_name, "first_committed");
mon->store->put_int(last_committed, machine_name, "last_committed");
- return;
}
// build map of values to store