From: Sage Weil Date: Mon, 21 Sep 2009 21:06:15 +0000 (-0700) Subject: mon: fix client id preallocation X-Git-Tag: v0.15~18 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=35dc047356f0c18a8920eb63361a688d921edcf3;p=ceph.git mon: fix client id preallocation Broken by b2c7655093821710aac2b4d35ccb1740429eb402 --- diff --git a/src/mon/ClientMonitor.cc b/src/mon/ClientMonitor.cc index 85c44f10cb8..d10355e6980 100644 --- a/src/mon/ClientMonitor.cc +++ b/src/mon/ClientMonitor.cc @@ -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; }