erikgrinaker / toydb

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

Client txn API for serialization failures #12

Closed erikgrinaker closed 4 years ago

erikgrinaker commented 4 years ago

The client should automatically handle serialization failures by taking a transaction as a closure and retrying it.