Bug #15976
closed
rgw: updating CORS/ACLs might not work in some circumstances
Added by Radoslaw Zarzynski almost 8 years ago.
Updated almost 8 years ago.
Description
This is because std::map::emplace(), that replaced operator[] in metadata processing code, doesn't override already existing items.
- Status changed from New to In Progress
- Related to Bug #15779: rgw: account/container metadata not actually present in a request are deleted during POST through Swift API added
- Related to deleted (Bug #15779: rgw: account/container metadata not actually present in a request are deleted during POST through Swift API)
- Status changed from In Progress to Fix Under Review
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #16040: jewel: rgw: updating CORS/ACLs might not work in some circumstances added
Before excuting the function of emplace_attr. remove corresponding item, which already exists,
After modifying code,it runs correctly.
- Has duplicate Bug #16439: Can not change access for containers added
- Has duplicate Bug #16694: Radosgw use swift API create container ACL failed added
- Status changed from Pending Backport to Resolved
Also available in: Atom
PDF