]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
handle_pool_op_reply: update osdmap even on error
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Wed, 6 Jul 2011 19:44:08 +0000 (12:44 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Thu, 7 Jul 2011 21:24:52 +0000 (14:24 -0700)
commit54ca67bbfe0acb8079f8df26c2470d306c1e09fb
tree3fd671d4ef1788419d10bef3de2e90e9acbe1ee9
parent75950ac1f2cc47de2a66614ed5d11ebab0dbf262
handle_pool_op_reply: update osdmap even on error

Even when a PoolOp returns an error, we still want to update the OSDMap
of our client. If not, we can get into scenarios like this:

> rados_pool_create(cl, "foo") = -EEXIST
> rados_ioctx_create(cl, "foo", &io_ctx) = -ENOENT

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
src/osdc/Objecter.cc