erikgrinaker / toydb

Distributed SQL database in Rust, written as an educational project
Apache License 2.0
6.12k stars 563 forks source link

version control mechanism for data? #69

Closed ghost closed 3 months ago

erikgrinaker commented 3 months ago

Hi! toyDB uses MVCC (multi-version concurrency control), so it already has a form of version control, including support for time travel queries. You can read more about this here:

https://github.com/erikgrinaker/toydb/blob/master/src/storage/mvcc.rs