diff options
author | Casey Bodley <cbodley@redhat.com> | 2023-10-11 23:45:17 +0200 |
---|---|---|
committer | Casey Bodley <cbodley@redhat.com> | 2023-11-21 17:09:23 +0100 |
commit | 338440ae2c04ed6a14d35825f4503d1222266ed5 (patch) | |
tree | f28e4df5b6e903ca318f60fbf09ae2639bf6bb08 /src/rgw/driver/rados/rgw_rados.h | |
parent | ReleaseNotes: document support for partNumber (diff) | |
download | ceph-338440ae2c04ed6a14d35825f4503d1222266ed5.tar.xz ceph-338440ae2c04ed6a14d35825f4503d1222266ed5.zip |
rgw: non-multipart uploads serve entire range on partNumber=1
and omit the x-amz-mp-parts-count response header
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_rados.h')
-rw-r--r-- | src/rgw/driver/rados/rgw_rados.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rgw/driver/rados/rgw_rados.h b/src/rgw/driver/rados/rgw_rados.h index 89e4576a478..f61730cb4de 100644 --- a/src/rgw/driver/rados/rgw_rados.h +++ b/src/rgw/driver/rados/rgw_rados.h @@ -770,7 +770,7 @@ public: rgw_obj *target_obj; uint64_t *epoch; int* part_num = nullptr; - int* parts_count = nullptr; + std::optional<int> parts_count; Params() : lastmod(nullptr), obj_size(nullptr), attrs(nullptr), target_obj(nullptr), epoch(nullptr) |