]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: zero-initialize rgw_bucket_sync_status::incremental_gen 39396/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 9 Feb 2021 23:40:29 +0000 (18:40 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 10 Feb 2021 16:25:56 +0000 (11:25 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_data_sync.h

index b4fefedc6d4f2f704d8d1d3ca5e77d6d785a13a5..62250b99c34bfb652be24f93a67e5399b4980317 100644 (file)
@@ -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<bool> shards_done_with_gen;
 
   void encode(bufferlist& bl) const {