Level / abstract-level

Abstract class for a lexicographically sorted key-value database.
MIT License
123 stars 8 forks source link

Add test that `iterator.seek()` upholds snapshot guarantee #9

Closed vweevers closed 2 years ago

vweevers commented 2 years ago

I found a bug in memdown / memory-level: its iterator._seek() reads from the current (aka latest) state of the database, rather than the state from when the iterator was created.

This should be covered by a test in the abstract test suite.