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

[v23.3.x] cluster_recovery_backend_test: fix unsafe iteration #18123

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #18119
Fixes: #18122,

The test iterates over partitions across scheduling points, even though
the partitions() container is explicitly documented to not support this.
This commit makes a copy of the container before iterating.

Fixes redpanda-data#17920

(cherry picked from commit 03f98b3)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Apr 27, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Apr 27, 2024
Copy link
Contributor

@andrwng andrwng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean backport

@andrwng andrwng merged commit 67b8f15 into redpanda-data:v23.3.x Apr 29, 2024
17 checks passed
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.14 Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants