]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix read not exists null version return wrong 27330/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 23:04:19 +0000 (19:04 -0400)
commit2a3a2098d01abe0dc4ddc45467c0217d6889a279
tree25e5f0066d31a50df71ee73cc13dadb600800c73
parent750861613f197956a677e902326a91209721d8fe
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