mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-15 22:39:05 +00:00
d765413f5f
* Update proto to send `max_frame_no` while inserting frames We plan to allow multiple (non concurrent) writers. If a transaction's `max_frame_no` does not match the server's `max_frame_no`, then it has missed some new writes and we can abort the transaction * Updates storage trait's insert_frames definition - Change parameter type `FrameData` to `Frame` from rpc def, to avoid unnecessary copying - Take `max_frame_no` param * Use `insert_frames` method * cleanup: remove `insert_frame` method and impl * Remove `FrameData`, use `Frame` from proto instead