]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: fix read not exists null version return wrong
authorTianshan Qu <tianshan@xsky.com>
Tue, 19 Mar 2019 11:21:57 +0000 (19:21 +0800)
committerTianshan Qu <tianshan@xsky.com>
Tue, 19 Mar 2019 11:21:57 +0000 (19:21 +0800)
commita37467f847d3951e11050fdf4c3d54e081a85f0c
treeb11e3eec6e6a6c6bbb9244a5390401c9b212582e
parentaffb7d396f76273e885cfdbcd363c1882496726c
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>
src/rgw/rgw_rados.cc