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

Serialize Incoming Transactions #2

Open
Scriptor opened this issue Mar 30, 2020 · 0 comments
Open

Serialize Incoming Transactions #2

Scriptor opened this issue Mar 30, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Scriptor
Copy link
Owner

Now that Eza supports multi-key updates, it needs to ensure that these "transactions" never stop on each other mid-processing. If two transactions touch the same keys, then they must happen entirely separately and one after the other.

In other words, implement the (I)solation of ACID.

It may be useful to add a user-visible first-class Transaction entity. The order of these incoming transactions needs to be determined before they can be processed.

A simple approach to start with may be to have each transaction lock the keys they do any of their writes.

@Scriptor Scriptor added the enhancement New feature or request label Mar 30, 2020
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