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

Add time-out to explicit transactions #162

Open
huahaiy opened this issue Dec 10, 2022 · 0 comments
Open

Add time-out to explicit transactions #162

huahaiy opened this issue Dec 10, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@huahaiy
Copy link
Contributor

huahaiy commented Dec 10, 2022

Since with-transaction-kv and with-transaction run arbitrary code, and only one writer is allowed at a time. This can block other writers indefinitely, essentially become a deny of service attack. Need to have a time out. User configurable of course. User should be able to set this independently as a function. Similar to idle_in_transaction_session_timeout in postgres.

@huahaiy huahaiy changed the title Add time-out for explicit transactions Add time-out to explicit transactions Dec 10, 2022
@huahaiy huahaiy added the enhancement New feature or request label Dec 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant