]> git-server-git.apps.pok.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>
Fri, 4 Aug 2023 19:11:24 +0000 (15:11 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 07d28bac1513661a96462444843ff74527d275be)

src/rgw/rgw_obj_manifest.h

index a3d82a66808b8da0a763db77a0ac580e8d5cc96c..48e0c1e5a4ea93181f7b1f27635fca9cc1ce6212 100644 (file)
@@ -537,6 +537,10 @@ public:
       return ofs;
     }
 
+    int get_cur_part_id() const {
+      return cur_part_id;
+    }
+
     /* stripe number */
     int get_cur_stripe() const {
       return cur_stripe;