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 atomic option in AbstractDB.{write,remove} #14

Closed
tsirif opened this issue Nov 30, 2017 · 0 comments
Closed

Add atomic option in AbstractDB.{write,remove} #14

tsirif opened this issue Nov 30, 2017 · 0 comments
Labels
enhancement Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt)

Comments

@tsirif
Copy link
Member

tsirif commented Nov 30, 2017

Relative discussion.

We would like to support fetching multiple matched documents on a write (meant as an update) or remove, in an atomic way. Preferably using a single command, if the database framework supports it. Else, probably a locking mechanism should be devised and used (see #10).

A first approach,currently returning only one document and applying the update or remove on that, lies at tsirif/orion@ab159cf, on branch feature/db/atomic

@tsirif tsirif added the enhancement Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt) label Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves a feature or non-functional aspects (e.g., optimization, prettify, technical debt)
Projects
None yet
Development

No branches or pull requests

2 participants