]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix read not exists null version return wrong 27306/head
authorTianshan Qu <tianshan@xsky.com>
Tue, 19 Mar 2019 11:21:57 +0000 (19:21 +0800)
committerPrashant D <pdhange@redhat.com>
Tue, 2 Apr 2019 00:14:04 +0000 (20:14 -0400)
commitfa14f19d8ea96f02061bafebd0b52c4ca9b33c9f
tree340fef6f9ff0f88375d6ee7121b436b441b8cecb
parentb41ae3350e4f8a2a78d13d1ecd01ce106b3b9cc6
rgw: fix read not exists null version return wrong

steps
1.enable bucket versioning
2.PUT obj (got version XXX)
3.GET obj with version_id=null (return success and have no data)

Fixes: http://tracker.ceph.com/issues/38811
Signed-off-by: Tianshan Qu <tianshan@xsky.com>
(cherry picked from commit a37467f847d3951e11050fdf4c3d54e081a85f0c)
src/rgw/rgw_rados.cc