]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix data corruption when race condition 5117/head
authorwuxingyi <wuxingyi@letv.com>
Wed, 10 Jun 2015 06:57:57 +0000 (06:57 +0000)
committerAbhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Wed, 1 Jul 2015 16:43:36 +0000 (22:13 +0530)
commit8abc46a157e4c1431a92a1e52ab694dccff5d514
tree60dbd0bc6fbdcefedfa480de0bc5a36a55eb44ab
parent72ecd522941156c8a7e5303531944b0735dcbeb8
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>
(cherry picked from commit ac1e729a75b5d995028bbc223bcf5ecce0d112cc)
src/rgw/rgw_rados.cc