-
Notifications
You must be signed in to change notification settings - Fork 593
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
rm_stm/tests: add a stress test for concurrent eviction / replication / snapshots #24490
rm_stm/tests: add a stress test for concurrent eviction / replication / snapshots #24490
Conversation
abdeb67
to
ef90eb3
Compare
/dt |
the below tests from https://buildkite.com/redpanda/redpanda/builds/59473#0193aa6d-f8af-4bc0-a603-7db2d9a9a115 have failed and will be retried
the below tests from https://buildkite.com/redpanda/redpanda/builds/59473#0193aa6d-f8ae-4038-b87b-224ef7d6db46 have failed and will be retried
the below tests from https://buildkite.com/redpanda/redpanda/builds/59511#0193adc4-6296-4327-809d-1e6a5461ce19 have failed and will be retried
|
non flaky failures in https://buildkite.com/redpanda/redpanda/builds/59473#0193aac7-182e-448b-a560-b3d3f895a559:
non flaky failures in https://buildkite.com/redpanda/redpanda/builds/59473#0193aaca-b159-4950-ac3b-3b095f4baaa4:
non flaky failures in https://buildkite.com/redpanda/redpanda/builds/59511#0193ae06-2587-416a-94ce-c0a4045431fb:
|
Retry command for Build#59473please wait until all jobs are finished before running the slash command
|
ef90eb3
to
eb1aecb
Compare
/dt |
Retry command for Build#59511please wait until all jobs are finished before running the slash command
|
eb1aecb
to
b645c31
Compare
b645c31
to
a4728d0
Compare
a4728d0
to
d2126c8
Compare
d2126c8
to
5013373
Compare
src/v/cluster/rm_stm.cc
Outdated
if (!ssx::is_shutdown_exception(ex)) { | ||
vlog( | ||
_ctx_log.warn, | ||
"encountered an exception while cleaning producers: ", |
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.
placeholder is missing
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.
yikes, fixed.
This is a classic iterator invalidation caught by the test added in the previous commit. Cleanup could race with reset thus invalidating the iterator used in max_concurrent_for_each().
5013373
to
4ee6b02
Compare
/rp-unit-test |
}; | ||
|
||
ss::future<> rm_stm::reset_producers() { | ||
// note: must always be called under exlusive write lock to |
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.
nit: take units as a param?
/backport v24.3.x |
/backport v24.2.x |
/backport v24.1.x |
Failed to create a backport PR to v24.2.x branch. I tried:
|
Failed to create a backport PR to v24.1.x branch. I tried:
|
Fixes a race condition found by the test
Backports Required
Release Notes