]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librados: wait for osdmap for commands that need it
authorSage Weil <sage@inktank.com>
Thu, 13 Jun 2013 23:39:30 +0000 (16:39 -0700)
committerSage Weil <sage@inktank.com>
Thu, 13 Jun 2013 23:39:30 +0000 (16:39 -0700)
commit93505bb3c794312814f7e4d099296a53f3bb9db0
tree0ec25fa974ceeca41e89deb57bda1881e9132842
parent95aa2e8d079fdad618c3ded827fedd8a5c8067da
librados: wait for osdmap for commands that need it

In commit 7e1cf87b5158c870e2a118ed6d316be8cb9818ce we stopped waiting for
the osdmap on start because the Objecter will normally wait, but for some
commands we assume the osdmap is recent(ish).

Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
src/librados/RadosClient.cc
src/librados/RadosClient.h