mon: fix client id preallocation

Broken by b2c7655093
This commit is contained in:
Sage Weil 2009-09-21 14:06:15 -07:00
parent 9a45979b08
commit 35dc047356

View File

@ -63,7 +63,7 @@ bool ClientMonitor::update_from_paxos()
paxos->stash_latest(paxosv, bl);
if (next_client <= client_map.next_client) {
if (next_client < 0) {
dout(10) << "in-core next_client reset to " << client_map.next_client << dendl;
next_client = client_map.next_client;
}