]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librados: do not wait for osdmap on start
authorSage Weil <sage@inktank.com>
Thu, 13 Jun 2013 21:42:03 +0000 (14:42 -0700)
committerSage Weil <sage@inktank.com>
Thu, 13 Jun 2013 21:42:03 +0000 (14:42 -0700)
commit7e1cf87b5158c870e2a118ed6d316be8cb9818ce
treeab330157e15255af562d632b586da043f49ec402
parent35ea1639aa72728c043d87541618d9c0dff3baec
librados: do not wait for osdmap on start

If we abort while waiting, we incorrect clean up (we switch the state value
incorrectly, and also fail to clean up the initialized objecter).

Intead, skip this wait.. it's useless!

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