]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon: fix allocation of low global_ids after mon restart
authorSage Weil <sage@newdream.net>
Wed, 2 Dec 2009 23:03:50 +0000 (15:03 -0800)
committerSage Weil <sage@newdream.net>
Wed, 2 Dec 2009 23:03:50 +0000 (15:03 -0800)
commit714a9af30d3433798dcaccfcdfd632ee801cbdc3
tree8fcc0c02782cf939eba8c09c85f2b81b0e4f01fd
parent89603b6bca0c5fcf23e24e5d5be14a55d88b7f42
mon: fix allocation of low global_ids after mon restart

We need to set last_allocated in init().  Also avoid the
-1 casting and just use 0 instead.
src/mon/AuthMonitor.cc
src/mon/AuthMonitor.h