IntersectMBO / IntersectMBO/ouroboros-consensus

Chain DB: audit and test the iterators/readers for race conditions

Open
#774 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
67
Forks
43
Avg merge
5d 13h
Merged PRs (30d)
43

Description

The ChainDB iterators and readers will have to read blocks that have been copied from the ImmutableDB and garbage-collected from the VolatileDB. Check whether we deal with this correctly (no race conditions) and test it thoroughly (inspiration: http://hackage.haskell.org/package/dejafu).

Note that in practice there will be a non-trivial overlap between the ImmutableDB and the VolatileDB, so the potential race conditions will probably happen only very rarely (or not at all). Still, we have to test this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.