mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-12-15 07:29:41 +00:00
f563a741ca
* update WIP list * prefer local max_frame_no this assumes that cache is always up to date and uses that instead of calling the storage server. later we will add replication and make sure that cache is upto date. * Prefer local reads and also save page versions locally Let's store `page_no` along with the `frame_no`. And then while reading, we will do a range read, read frame which is less than txn's `max_frame_no` * minor improvements: index creation, fix max_frame_num query * update local cache on inserts * avoid unnecessary call to ss in `find_frame` * remove unused `get_frame` * eliminiate all calls to storage server during read path