]> 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)
committerAdam C. Emerson <aemerson@redhat.com>
Tue, 1 Feb 2022 14:39:07 +0000 (09:39 -0500)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/cls/rgw/cls_rgw_types.h

index 5edff485228a2be212b337b9dd9c8f472e2ed411..813e1b5ef1ed493f1a9969eeb1f098d5d5e38c9c 100644 (file)
@@ -1318,7 +1318,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);