Skip to content
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

reef: rgw/amqp: remove possible race conditions with the amqp connections #53516

Merged
merged 2 commits into from Nov 4, 2023

Conversation

yuvalif
Copy link
Contributor

@yuvalif yuvalif commented Sep 18, 2023

backport tracker: https://tracker.ceph.com/issues/61919


backport of #52110
parent tracker: https://tracker.ceph.com/issues/61639

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

@github-actions
Copy link

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@yuriw
Copy link
Contributor

yuriw commented Sep 28, 2023

@yuvalif pls rebase

* simplify memory management of the connection by not using a unique_ptr
* simplify the logic by handling all issues inside the amqp manager
* fix iterator invalidation issue with miltiple n/acks
* allow different connections with different exchanges
* modify the unit tests according to the new behavior

Fixes:
* https://tracker.ceph.com/issues/61639
* https://tracker.ceph.com/issues/46127

Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit 38d819b)
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
(cherry picked from commit 2e92331)
@cbodley
Copy link
Contributor

cbodley commented Oct 18, 2023

jenkins test api

@cbodley
Copy link
Contributor

cbodley commented Oct 18, 2023

@cbodley
Copy link
Contributor

cbodley commented Oct 18, 2023

jenkins test api

@yuriw yuriw merged commit cc8c186 into ceph:reef Nov 4, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants