Commit Graph

26 Commits

Author SHA1 Message Date
Nikita Sivukhin
34a7b2ffd4 ignore changes in the turso_sync_last_change_id 2025-08-14 12:39:44 +04:00
Nikita Sivukhin
8c9d648852 add test which check that we don't push without the need 2025-08-14 12:38:15 +04:00
Nikita Sivukhin
f603a0dfc8 change log level to INFO in order to simplify debugging (DEBUG logs in the db are pretty spammy) 2025-08-14 12:37:49 +04:00
Nikita Sivukhin
887b25dd00 do not push wal unnecessary when nothing was changed locally 2025-08-13 20:22:10 +04:00
Nikita Sivukhin
eff8d8540d fix bug and add test with concurrent dbs in sync 2025-08-13 17:08:07 +04:00
Nikita Sivukhin
0d9d0762a9 fix clippy 2025-08-13 16:57:44 +04:00
Nikita Sivukhin
734750daaa fix after rename 2025-08-13 15:26:25 +04:00
Nikita Sivukhin
0a12b2d74a disable auto-checkpoint for opened connections in the sync engine 2025-08-13 15:23:18 +04:00
Nikita Sivukhin
6e0ad0a483 open draft database only once
- otherwise there will be problems with memory IO backend
2025-08-13 15:23:18 +04:00
Nikita Sivukhin
8040604362 fix clippy 2025-08-12 19:54:11 +04:00
Nikita Sivukhin
1ac3d632ca support checkpoint from remote 2025-08-12 19:53:04 +04:00
Nikita Sivukhin
bf863803da add simple test with checkpoint 2025-08-12 19:49:21 +04:00
Nikita Sivukhin
bf2a01866c fix clippy 2025-08-12 18:33:12 +04:00
Nikita Sivukhin
d3a27ee311 fix sync engine 2025-08-12 18:30:16 +04:00
Nikita Sivukhin
aa5de7b8bd fix clippy 2025-08-11 17:02:36 +04:00
Nikita Sivukhin
372d23b7cc handle schema changes in sync engine 2025-08-11 16:52:18 +04:00
Nikita Sivukhin
5e773d286e support UPDATEs and schema changes in database tape 2025-08-11 16:50:59 +04:00
PThorpe92
84ffed709a Round up allocation for wal frame arena to next page multiple of 64 2025-08-08 10:55:29 -04:00
Nikita Sivukhin
d2a8162e10 sync bootstrapped files in the end 2025-08-08 16:40:29 +04:00
Nikita Sivukhin
405e7f56a6 small adjustments in the sync-engine 2025-08-08 15:40:57 +04:00
Nikita Sivukhin
ae0dff6a55 cargo clippy --tests --fix 2025-08-06 22:09:29 +04:00
Nikita Sivukhin
09daa97150 format fixes 2025-08-06 21:53:03 +04:00
Nikita Sivukhin
b1f1526673 add DB file for tests 2025-08-06 21:47:18 +04:00
Nikita Sivukhin
253b4933f7 more small fixes 2025-08-06 19:30:16 +04:00
Nikita Sivukhin
1763e9bbf9 small fixes 2025-08-06 19:26:55 +04:00
Nikita Sivukhin
b612259a3a more friendly copmletely runtime agnostic turso-sync-engine crate 2025-08-06 19:26:55 +04:00