]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: zero-initialize rgw_bucket_sync_status::incremental_gen
authorCasey Bodley <cbodley@redhat.com>
Tue, 9 Feb 2021 23:40:29 +0000 (18:40 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Mon, 13 Sep 2021 16:27:50 +0000 (12:27 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.h

index 75293b88ba915c99e4353efdfa7ab89d280f572c..4c97c0d8d27957c0d07bf19e3ee4c0556a31d4f1 100644 (file)
@@ -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<bool> shards_done_with_gen;
 
   void encode(bufferlist& bl) const {