]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix for uninitialized oldest_gen/latest_gen
authorCasey Bodley <cbodley@redhat.com>
Mon, 18 Oct 2021 18:15:33 +0000 (14:15 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:33 +0000 (15:47 -0400)
commita50d6ad12d666dd010e8ede4c1c0f8f77edad1c8
tree089ec9f8a442c7038ba2f015cddd8105f321a370
parent60ecef0c8a8209d8928158dd928a5ee301860d09
rgw: fix for uninitialized oldest_gen/latest_gen

when data sync queries RGWOp_BILog_Info from an un-upgraded gateway, it
doesn't include the oldest_gen/latest_gen fields. so initialize these
variables to 0 by default

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