]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: expose part id in RGWObjManifest iterator
authorCasey Bodley <cbodley@redhat.com>
Tue, 30 May 2023 17:53:02 +0000 (13:53 -0400)
committerCasey Bodley <cbodley@redhat.com>
Thu, 3 Aug 2023 20:56:49 +0000 (16:56 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/driver/rados/rgw_obj_manifest.h

index 3442cdc8425ad61618e87104d3fb7e0acff80e1b..6984184aa5ed2860308cd116623907d64c2476c0 100644 (file)
@@ -545,6 +545,10 @@ public:
       return ofs;
     }
 
+    int get_cur_part_id() const {
+      return cur_part_id;
+    }
+
     /* stripe number */
     int get_cur_stripe() const {
       return cur_stripe;