]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
monc: get latest monmap during authentication
authorSage Weil <sage@newdream.net>
Thu, 29 Dec 2011 16:59:00 +0000 (08:59 -0800)
committerSage Weil <sage@newdream.net>
Thu, 29 Dec 2011 16:59:00 +0000 (08:59 -0800)
commit05cc4eb93ce6d193c6aea4918144006fb4d1c187
tree16d158e3b913a890e65a0693438e12cb2430b96a
parent300c7584217db9e223f74249027c319f58fab968
monc: get latest monmap during authentication

Tell the monitor which monmap version we have in our initial auth message.
Make the monitor send the latest monmap if it has something newer.  This
ensures that once authentication completes the monclient has the latest
monmap and a valid fsid.

Fixes: #1848
Signed-off-by: Sage Weil <sage@newdream.net>
src/messages/MAuth.h
src/mon/AuthMonitor.cc
src/mon/MonClient.cc