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] transform: prevent double processor starts #15941

Merged

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #15933

There is an edge case when the wasm VM immediately halts that we can get
double starts because the task is "failed", but that can cause something
else to come along in `transform::manager::start_processor` and start it
again, which messes up our ref counting in the shared wasm engine.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
(cherry picked from commit fb71461)
Double starts can mess up our ref counting as seen in the previous
commit. Guard against this in the future by mirroring stop and checking
the abort source.

Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
(cherry picked from commit 497785a)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Jan 4, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jan 4, 2024
@rockwotj rockwotj marked this pull request as ready for review January 4, 2024 01:49
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.2 Jan 4, 2024
@rockwotj rockwotj merged commit d392d07 into redpanda-data:v23.3.x Jan 4, 2024
21 checks passed
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