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

[transactions] admin_api interface to abort transaction #2987

Closed
VadimPlh opened this issue Nov 17, 2021 · 0 comments · Fixed by #3460
Closed

[transactions] admin_api interface to abort transaction #2987

VadimPlh opened this issue Nov 17, 2021 · 0 comments · Fixed by #3460
Assignees
Labels
area/transactions kind/enhance New feature or request

Comments

@VadimPlh
Copy link
Contributor

Problem

If user set big timeout for transaction only way to abort it by hand is restarting redpanda, because timeouts locates in RAM.

Solution

Add interface to admin_api to abort transaction
There are 2 steps

  1. Each transaction can be identify by model::producer_identity + model::tx_seq. So we need to provide interface to get current transaction from transactional manager for partition
  2. Interface to abort transaction for partition
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/transactions kind/enhance New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant