]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: rgw_data_change can decode v1 format if gen was 0
authorCasey Bodley <cbodley@redhat.com>
Wed, 10 Feb 2021 00:04:19 +0000 (19:04 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 10 Feb 2021 16:21:58 +0000 (11:21 -0500)
commitb3fe2fe84a3a5b8e5fcabc7054797191f6723edf
tree2a17e275a1db02490c68f17c2fff311292401a59
parent487fcde1fe491ee3d853726108c7ccc7159ae70d
rgw: rgw_data_change can decode v1 format if gen was 0

but if gen>0, require decoders to understand the v2 format. this way,
old clients can't decode entries with gen>0, so they won't be able to
serve them to other zones

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_datalog.h