]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix bucket-id assignment
authorSage Weil <sage@newdream.net>
Fri, 30 Sep 2011 17:13:35 +0000 (10:13 -0700)
committerSage Weil <sage@newdream.net>
Fri, 30 Sep 2011 17:13:35 +0000 (10:13 -0700)
commitb441ecf5928eeb63d23855aff81e15e08ae82e63
treeb76e18a6c8ef671dde6b0bb8bb22a0cc79236cc9
parent48558bb623e58bb2f7884860b61f3b9d4693a9e9
rgw: fix bucket-id assignment

Get the version from the same io_ctx that you write with.

Also, use a private one, so that we don't race with other threads.

Signed-off-by: Sage Weil <sage@newdream.net>
src/rgw/rgw_rados.cc