Skip to content

squid: rgw: replicate v2 topic/notification metadata - #56069

Merged
cbodley merged 40 commits into
ceph:squidfrom
cbodley:wip-64818-squid
Apr 12, 2024
Merged

cbodley merged 40 commits into
ceph:squidfrom
cbodley:wip-64818-squid

Conversation

@cbodley

@cbodley cbodley commented Mar 8, 2024 •

Copy link
Copy Markdown
Contributor

@yuriw

yuriw commented Mar 21, 2024

Copy link
Copy Markdown
Contributor

@ljflores

Copy link
Copy Markdown
Member

@cbodley
cbodley requested a review from a team as a code owner April 3, 2024 16:58
@cbodley

cbodley commented Apr 3, 2024

Copy link
Copy Markdown
Contributor Author

documented a minor conflict with the cherry-pick of "RGW/Rados: Migrate topics to data path v2" due to changes from #55795

@cbodley

cbodley commented Apr 3, 2024

Copy link
Copy Markdown
Contributor Author

@kchheda3 @yuvalif i included the commits from #55795, and was able to re-cherry-pick #55214 with no conflicts

yuvalif and others added 8 commits April 10, 2024 09:18
…n multisite config

Signed-off-by: kchheda3 <[email protected]>
(cherry picked from commit c4a147d)
…ions in multisite config.

Signed-off-by: kchheda3 <[email protected]>
(cherry picked from commit ab74e2c)
…een bucket and topics.

Signed-off-by: kchheda3 <[email protected]>
(cherry picked from commit df668e9)
…ions in multisite config.

Signed-off-by: kchheda3 <[email protected]>
(cherry picked from commit 1ed8df2)
both locally and in teuthology

Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit 7502215)
v1 could be enabled only in local tests. teuthology tests would run with v2

Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit d2db9df)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 0f333f1)
cbodley and others added 15 commits April 10, 2024 09:18
so they make sense outside of multisite configurations

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 0a97eb8)
Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 30d9725)
…ration

Signed-off-by: Casey Bodley <[email protected]>
(cherry picked from commit 4f0ff0f)
also add migration tests

Signed-off-by: Ali Masarwa <[email protected]>
(cherry picked from commit 1a7d145)
Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit 67d43ae)
this is useful to:
* cover the cls_lock code with persistent notifications
* cover v1 to v2 migration collisions between RGWs

Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit c0e540e)
As part of PR# 55657, publish_reserve would reload bucket to ensure bucket_attrs are loaded. However for lc events, where the bucket attrs were already loaded, the reloading was causing crash but there was no obvious root cause, so to avoid the crashes, remove reloading of bucket in publish_reserve and put the onus on callers to load the bucket before calling publish_reserve.

Signed-off-by: kchheda3 <[email protected]>
(cherry picked from commit fa5d370)
we also increase the wating time after rerunning the http server
to allow fo the persistent notifications retries to finish

Fixes: https://tracker.ceph.com/issues/63909

Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit ca66886)
this may happen when a test fails, and does not cleanup topics
it created. other tests that verify the number of topics may fail
because of that.
all tests that verify number of topics, should delete all topics at the
start of the test.

Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit 9ae0de1)
when checking persistent stats queue length

Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit 5581bc7)
test_ps_s3_persistent_topic_stats may delete boto client threads
before they are done.
also, no need to run the http server twice

Fixes: https://tracker.ceph.com/issues/63909

Signed-off-by: Yuval Lifshitz <[email protected]>
(cherry picked from commit 51e3659)
@cbodley

cbodley commented Apr 10, 2024

Copy link
Copy Markdown
Contributor Author

cherry-picked fixes from #55663 and rebased on latest squid

@cbodley

cbodley commented Apr 12, 2024

Copy link
Copy Markdown
Contributor Author

@yuvalif i chose not to treat https://tracker.ceph.com/issues/65337 as a blocker for merge, so i can get the accounts feature to squid in time for the release candidate. but i do plan to treat https://tracker.ceph.com/issues/65337 as a blocker for final release. does that make sense?

@cbodley
cbodley merged commit 81c7ccc into ceph:squid Apr 12, 2024
@cbodley
cbodley deleted the wip-64818-squid branch April 12, 2024 17:54
afreen23 pushed a commit to rhcs-dashboard/ceph that referenced this pull request Jul 29, 2026
squid: rgw: replicate v2 topic/notification metadata

Reviewed-by: Adam Emerson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants