]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: fix decode of cls_rgw reshard types
authorCasey Bodley <cbodley@redhat.com>
Fri, 18 Dec 2020 15:46:49 +0000 (10:46 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 5 Feb 2021 02:35:57 +0000 (21:35 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/cls/rgw/cls_rgw_types.h

index dd3a2a6d6976b9890536d795af266129902fd477..dff29b20da02f1b49d702407a02376ae8662bdbe 100644 (file)
@@ -1264,7 +1264,7 @@ struct cls_rgw_reshard_entry
     decode(bucket_name, bl);
     decode(bucket_id, bl);
     if (struct_v < 2) {
-      std::string new_instance_id;
+      std::string new_instance_id; // removed in v2
       decode(new_instance_id, bl);
     }
     decode(old_num_shards, bl);