Level / abstract-level

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

Define explicit snapshots #42

Open vweevers opened 2 years ago

vweevers commented 2 years ago

This is a documentation-only PR, acting as an RFC. I opted for a token-based approach (as suggested by Rod Vagg in https://github.com/Level/community/issues/45) instead of a dedicated snapshot API surface (as suggested by @juliangruber in https://github.com/Level/community/issues/47). Main reasons for not choosing the latter:

I renamed the existing snapshot mechanism to "implicit snapshots" and attempted to clarify the behavior of those as well.

Several related issues can be closed, because this PR: