Bug #39549
Bug #39547: multisite: metadata consistency on non-master zones
multisite: admin apis on non-master zone should forward to master zone
% Done:
0%
Source:
Tags:
multisite admin-api
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Admin APIs (like rgw_rest_bucket/metadata/user.*) that write metadata must be executed first on the metadata master zone. See the S3 APIs like RGWSetBucketVersioning::execute() for an example:
if (!store->svc.zone->is_meta_master()) {
op_ret = forward_request_to_master(s, NULL, store, in_data, nullptr);
History
#1 Updated by Shilpa MJ over 4 years ago
- Status changed from New to In Progress
- Assignee set to Shilpa MJ
#2 Updated by J. Eric Ivancich over 4 years ago
This needs a target version and list of backports.
#3 Updated by Casey Bodley 11 months ago
- Status changed from In Progress to Resolved
- Pull request ID set to 29549