rgw/cloudtier: Correct option ordering in RGWZoneGroupPlacementTier#61569
rgw/cloudtier: Correct option ordering in RGWZoneGroupPlacementTier#61569
Conversation
cbodley
left a comment
There was a problem hiding this comment.
looks great, just a suggestion to simplify future changes
ivancich
left a comment
There was a problem hiding this comment.
Thanks, Soumya, for quickly addressing this.
|
@ivancich are these known failures? |
|
@soumyakoduri : Those errors are due to a regression that has its own PR to fix. The easiest way to get past them is to revert commit 0884e99 in your test branch. |
Even after reverting that commit, |
|
@soumyakoduri So the fixes are in main. So try rebasing to main. I think you'll get a clean run then. |
I think we need a full rgw suite to make sure there aren't unexpected effects. That was an issue recently where testing broke widely because someone merged after only narrow focused testing. |
8bb9192 to
5e6d375
Compare
Two tier-config options (related to `cloud-restore`) were incorrectly added in the middle of the encoding and decoding methods of RGWZoneGroupPlacementTier. This modification can cause compatibility issues with older decoders when attempting to read v2-encoded REST objects. The fix is to correct the option order and update the decode() function to properly interpret the structure based on the encoded version. Signed-off-by: Soumya Koduri <[email protected]>
5e6d375 to
c2d226a
Compare
|
jenkins test api |
1 similar comment
|
jenkins test api |
|
@ivancich .. this is the latest run - https://pulpito.ceph.com/soumyakoduri-2025-03-05_08:23:24-rgw-wip-skoduri-tier-config-distro-default-smithi/ There is multisite test failure but doesn't seem related to this change. |
Two tier-config options (related to
cloud-restore) were incorrectly added in the middle of the encoding and decoding methods ofRGWZoneGroupPlacementTier. This modification can cause compatibility issues with older decoders when attempting to read v2-encoded REST objects.The fix is to correct the option order and update the decode() function to properly interpret the structure based on the encoded version.
Fixes: https://tracker.ceph.com/issues/69713
Signed-off-by: Soumya Koduri [email protected]
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e