]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: restore buffer of multipart upload after EEXIST
authorYehuda Sadeh <yehuda@redhat.com>
Tue, 12 May 2015 23:40:10 +0000 (16:40 -0700)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 15 May 2015 18:08:53 +0000 (11:08 -0700)
commiteef3d2f1c400573db90936fd417769183950b6ee
treea5926bebdb1115f2e98fd94883af72f0dd59c53a
parent7d11b19003503a9db1572d01f7a170e35b29017d
rgw: restore buffer of multipart upload after EEXIST

Fixes #11604
Backport: hammer, firefly

When we need to restart a write of part data, we need to revert to
buffer to before the write, otherwise we're going to skip some data.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 580ccaec12daae64c38a1616d0be907bdd70a888)
src/rgw/rgw_op.cc