mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-05-13 15:13:08 +00:00
Old implementation could never finish if the write is faster than time needed to do two round-trips to primary. For example it's enough to have a write every 200ms to make sync never finish if it's done in embedded replica in Sydney if the primary and the writer are in the US. Signed-off-by: Piotr Jastrzebski <piotr@chiselstrike.com>