From efb97059277dfb6a8a132434209bebcb815a389c Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Tue, 9 Feb 2021 18:40:29 -0500 Subject: [PATCH] rgw: zero-initialize rgw_bucket_sync_status::incremental_gen Signed-off-by: Casey Bodley --- src/rgw/rgw_data_sync.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rgw/rgw_data_sync.h b/src/rgw/rgw_data_sync.h index b4fefedc6d4f2..62250b99c34bf 100644 --- a/src/rgw/rgw_data_sync.h +++ b/src/rgw/rgw_data_sync.h @@ -611,7 +611,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 { -- 2.39.5