Evgeny
979106040b
db_sync: fix test sync protocol isolation (add auto_sync flag, destroy order, test refactor)
- utun_instance: fix destroy order (topo_groups before conn_mgr to avoid UAF in topo_recovery)
- topo_recovery: add NULL guard for instance/ua in try_next
- db_sync_instance_add: add auto_sync flag (1=send INIT_SYNC, 0=quiet)
replaces separate _quiet variant, cleaner API
- db_sync_peer_set_state, db_sync_reinitiate: test-only peer control utilities
- test_db_sync: full rewrite — stable, isolated sync protocol testing
all 3 branches (peer_empty, hash_MATCH, divergence) tested without PUSH contamination
Phase 6 extended: triple merge + tail PUSH + mid PUSH cascade on star topology
runs in 1.4s, consistently passes 10/10
- db_sync_doc: updated protocol architecture description
- chatgui: update db_sync_instance_add call with auto_sync=1
2026-07-24 21:27:23 +03:00
..
2026-07-22 09:08:19 +03:00
2026-06-17 21:28:07 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-24 21:27:23 +03:00
2026-06-17 21:28:07 +03:00
2026-07-22 17:33:58 +03:00
2026-07-24 21:27:23 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-22 15:51:03 +03:00
2026-07-22 15:51:03 +03:00
2026-07-22 15:51:03 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-16 19:04:00 +03:00
2026-07-14 09:07:03 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-22 15:51:03 +03:00
2026-07-22 08:47:56 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-09 18:08:49 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-21 20:25:41 +03:00
2026-07-05 20:57:44 +03:00
2026-07-01 20:33:11 +03:00
2026-07-21 20:25:41 +03:00
2026-07-05 20:57:44 +03:00
2026-07-16 19:22:06 +03:00
2026-07-22 09:08:19 +03:00