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

Specify and test concurrency and transaction semantics #62

Closed
erikgrinaker opened this issue Mar 9, 2020 · 0 comments
Closed

Specify and test concurrency and transaction semantics #62

erikgrinaker opened this issue Mar 9, 2020 · 0 comments
Labels

Comments

@erikgrinaker
Copy link
Contributor

erikgrinaker commented Mar 9, 2020

We should specify and test the concurrency and transaction semantics both of individual interface methods and specific backends. For backends that support it, we should aim to support single-writer-multiple-reader concurrency control (e.g. RWMutex unless backend handles this itself), and atomic batch transactions with read committed isolation. As far as possible, iterators should be concurrency safe and not block writers for their entire lifetime.

We may want to consider exposing backend capabilities for this, such that users can programmatically detect e.g. whether a batch write is atomic or not and take appropriate action.

Some related notes: tendermint/tmlibs#79

This was referenced May 18, 2020
@github-actions github-actions bot added the Stale label Aug 5, 2021
@github-actions github-actions bot closed this as completed Aug 9, 2021
nddeluca referenced this issue in Kava-Labs/tm-db Jan 8, 2024
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant