EspressoSystems / EspressoSystems/atomicstore

Make `AtomicStore::commit_version` more permissive or obvious

Open
#24 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
4
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When using `AtomicStore` with one or several `*Log`s, and not all logs have called `.commit_version()`, `AtomicStore::commit_version` will block forever. It would be more developer friendly if:
- `AtomicStore::commit_version` has a timeout, and throws a panic if the `*Log` don't commit in time, instead of deadlocking.
- or `*Log`s have an implicit `.skip_version()` whenever `AtomicStore::commit_version` is called and the `*Log` has not committed yet.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.