]> 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>
Fri, 27 May 2022 19:47:32 +0000 (15:47 -0400)
commitfda49c477281b72eff0d08dff02855e1492e198c
treed2540cf38b8c6bed1e51b924e80b65f4757649b5
parent56c7f37b55034ee013e5db76881c1ee065704210
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