]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix data corruption when race condition 4752/head
authorwuxingyi <wuxingyi@letv.com>
Wed, 10 Jun 2015 06:57:57 +0000 (06:57 +0000)
committerwuxingyi <wuxingyi@letv.com>
Wed, 10 Jun 2015 06:58:40 +0000 (06:58 +0000)
commitac1e729a75b5d995028bbc223bcf5ecce0d112cc
tree41a6aebe239042e5262a9ae30193142402cb965f
parent5a5dc5f0aa79672c3613c08edb2e148196506901
rgw: fix data corruption when race condition

We should delete the object in the multipart namespace lastly to prevent a previous upload
wrongly deleting objects belong to the following upload.

Fixes: #11749
Signed-off-by: wuxingyi <wuxingyi@letv.com>
src/rgw/rgw_rados.cc