]> 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)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 1 Feb 2022 22:57:02 +0000 (17:57 -0500)
commitaec6f86219f5ff9ee7884734b83178f4ee9d4f2e
treed986d3b5fa3a7c1ae31b53af040e8a18eb179f1a
parent78185bab749a16c16a219e3fe010ca1d38f4bf9d
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