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

Lock particular key or range of keys #277

Open
vdimir opened this issue Aug 9, 2020 · 0 comments
Open

Lock particular key or range of keys #277

vdimir opened this issue Aug 9, 2020 · 0 comments

Comments

@vdimir
Copy link

vdimir commented Aug 9, 2020

Is it right to say that storm hasn't any mechanism to lock particular key or range of keys to read and modify it atomically and one option is to perform transaction, that locks whole db (or at least bucket)?

Can you provide some workarounds to solve such problem? One of the solutions that I figure out is to lock keys in user code manually and check it before accessing to the data in db.

Does it make sense to implement such mechanism in storm?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant