From 6ef9a282fdd40d03dac242d9a40f296294d3012f Mon Sep 17 00:00:00 2001 From: Matt Benjamin Date: Sun, 5 May 2024 14:27:06 -0400 Subject: [PATCH] rgw_cksum: fix ReadOp comment parts_count now returns a value for parts_count whenever the target object is a multipart upload. this has no additional overhead, since this can be read off the manifest Signed-off-by: Matt Benjamin --- src/rgw/rgw_sal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rgw/rgw_sal.h b/src/rgw/rgw_sal.h index 1701f1b3dc982..9bc23f2d0aed8 100644 --- a/src/rgw/rgw_sal.h +++ b/src/rgw/rgw_sal.h @@ -1049,8 +1049,8 @@ class Object { /// If non-null, read data/attributes from the given multipart part. int* part_num{nullptr}; - /// If part_num is specified and the object is multipart, the total - /// number of multipart parts is assigned to this output parameter. + /// If the object is multipart, the total number of multipart + /// parts is assigned to this output parameter. std::optional parts_count; } params; -- 2.39.5