diff options
author | Seena Fallah <seenafallah@gmail.com> | 2024-08-19 14:30:51 +0200 |
---|---|---|
committer | Seena Fallah <seenafallah@gmail.com> | 2024-12-19 23:08:58 +0100 |
commit | 19aa6f7244030720c7f4a11288d16946059b5b78 (patch) | |
tree | 78bf67d5bb08effec70b9f7aa830365f0a498006 /src/rgw/rgw_common.h | |
parent | Merge pull request #60715 from ronen-fr/wip-rf-dumpsched (diff) | |
download | ceph-19aa6f7244030720c7f4a11288d16946059b5b78.tar.xz ceph-19aa6f7244030720c7f4a11288d16946059b5b78.zip |
rgw: respect location constraint in master zonegroup
When creating a bucket with a location constraint specified by the
user, this constraint is not included in createparams. Therefore,
to create the bucket in the requested location, createparams and
bucket_zonegroup must be replaced with the user-provided values.
Fixes: https://tracker.ceph.com/issues/62309
Signed-off-by: Seena Fallah <seenafallah@gmail.com>
Diffstat (limited to 'src/rgw/rgw_common.h')
-rw-r--r-- | src/rgw/rgw_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_common.h b/src/rgw/rgw_common.h index a8f6a1107a9..6c0acaddf23 100644 --- a/src/rgw/rgw_common.h +++ b/src/rgw/rgw_common.h @@ -336,6 +336,7 @@ inline constexpr const char* RGW_REST_STS_XMLNS = #define ERR_PRESIGNED_URL_EXPIRED 2223 #define ERR_PRESIGNED_URL_DISABLED 2224 #define ERR_AUTHORIZATION 2225 // SNS 403 AuthorizationError +#define ERR_ILLEGAL_LOCATION_CONSTRAINT_EXCEPTION 2226 #define ERR_BUSY_RESHARDING 2300 // also in cls_rgw_types.h, don't change! #define ERR_NO_SUCH_ENTITY 2301 |