New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rgwlc: fix error return from backward-compat decode #36246
Conversation
Exception handling in backward-compat case returned EIO even when the actual backward-compat decode succeeded. Fixes: https://tracker.ceph.com/issues/46677 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
91b3d3b
to
fa30361
Compare
@@ -3775,13 +3775,14 @@ static int rgw_cls_lc_list_entries(cls_method_context_t hctx, bufferlist *in, | |||
/* try backward compat */ | |||
pair<string, int> oe; | |||
try { | |||
iter = it->second.begin(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably doesn't matter, but the initial set above is a const iter (cbegin(), not begin())
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since it doesn't affect compilation (you can assign a non-const iterator to a const_iterator), lets just get this tested and merged
jenkins test make check |
@cbodley @epuertat @alfonsomthd I don't see any connection between this PR and ceph dashboard backend API tests; blocking a PR from merging is a high bar--it seems like something isn't working as expected |
jenkins test dashboard backend |
@mattbenjamin I re-triggered the job with Also, the last CEPH API Nightly job was also successful: Regarding the not apparent connection, this job is a safeguard (for Ceph project API) in the same way We are aware that the API job have been sometimes unstable so @epuertat and @tchaikov have recently made improvements. |
Exception handling in backward-compat case returned EIO even when
the actual backward-compat decode succeeded.
Fixes: https://tracker.ceph.com/issues/46677
Signed-off-by: Matt Benjamin mbenjamin@redhat.com
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test dashboard backend
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox