From: Casey Bodley Date: Tue, 9 Feb 2021 23:40:29 +0000 (-0500) Subject: rgw: zero-initialize rgw_bucket_sync_status::incremental_gen X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=7df0fa2e70560cd6a8c00f727cacbfb15646aaed;p=ceph.git rgw: zero-initialize rgw_bucket_sync_status::incremental_gen Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_data_sync.h b/src/rgw/rgw_data_sync.h index 75293b88ba915..4c97c0d8d2795 100644 --- a/src/rgw/rgw_data_sync.h +++ b/src/rgw/rgw_data_sync.h @@ -610,7 +610,7 @@ void decode_json_obj(BucketSyncState& state, JSONObj *obj); struct rgw_bucket_sync_status { BucketSyncState state = BucketSyncState::Init; rgw_bucket_full_sync_status full; - uint64_t incremental_gen; + uint64_t incremental_gen = 0; std::vector shards_done_with_gen; void encode(bufferlist& bl) const {