122 Commits

Author SHA1 Message Date
mcrakhman
8e7df9eae5
Sync updates 2023-06-20 12:02:05 +02:00
mcrakhman
16be33fc96
Change Add to TryAdd 2023-06-19 10:41:16 +02:00
mcrakhman
cc3da7e66b
Simplify tree remote getter 2023-06-13 19:00:01 +02:00
mcrakhman
060c6d1231
Retry fail on treechangeproto.ErrGetTree 2023-06-13 18:14:13 +02:00
mcrakhman
0ca2fe5e7e
Change naming 2023-06-13 15:36:23 +02:00
mcrakhman
6eda884686
Remove goto 2023-06-13 15:26:42 +02:00
mcrakhman
5c884afcf1
Make error typed 2023-06-13 15:22:46 +02:00
mcrakhman
2aaa8f4a0c
Change retry logic and add tests 2023-06-13 15:21:11 +02:00
mcrakhman
8310cb3c05
Fix sync protocol integration tests 2023-06-06 22:08:06 +02:00
mcrakhman
100e7e04c3
SyncTreeHandler tests 2023-06-06 21:49:23 +02:00
mcrakhman
b18bb02176
TreeSyncProtocol tests 2023-06-06 20:50:53 +02:00
mcrakhman
3a2f9fe6f5
WIP synctree tests rewrite 2023-06-06 20:10:44 +02:00
mcrakhman
67d535362f
Different fixes 2023-06-06 17:18:59 +02:00
mcrakhman
748681d765
WIP rearrange components 2023-06-03 15:57:55 +02:00
mcrakhman
815bc7927d
Wire up the stuff 2023-06-02 00:59:33 +02:00
mcrakhman
eeb87dd144
WIP further space refactoring 2023-06-01 14:24:58 +02:00
mcrakhman
b0fa43fb14
WIP work on components 2023-06-01 10:28:32 +02:00
Mikhail Iudin
dbae377351
fix imports 2023-05-23 14:47:24 +02:00
Mikhail Iudin
da6c99c949
fix rebase changes 2023-05-23 14:38:34 +02:00
mcrakhman
86ac7223db
Fix ctx and change add method name in storage 2023-05-11 18:31:59 +02:00
mcrakhman
7feb6b0d2c
Send update only on remote tree or put tree when building 2023-05-11 13:40:24 +02:00
mcrakhman
a232ed76ce
Update syncprotocol test 2023-05-11 09:51:24 +02:00
mcrakhman
2c832d2518
Update sync protocol to remove transaction add 2023-05-10 23:51:03 +02:00
mcrakhman
a6d66c15a0
Add build full tree for history tree 2023-05-07 20:27:46 +02:00
mcrakhman
f1e8f5d193
Improve timestamp test 2023-05-04 16:25:41 +02:00
mcrakhman
2489e19bab
Change timestamp condition 2023-05-04 14:58:17 +02:00
mcrakhman
2958e32636
Send timestamp to addcontent 2023-05-04 14:12:29 +02:00
mcrakhman
21bde9743d
Add timestamp externally in tree 2023-05-04 11:10:08 +02:00
mcrakhman
8f144f20a6
Keep inmemory data on load 2023-04-27 19:11:05 +02:00
mcrakhman
61454b7405
Add sync protocol tests for empty data tree 2023-04-27 18:43:04 +02:00
mcrakhman
95cb364316
Fix empty data tree 2023-04-27 18:24:45 +02:00
mcrakhman
a6524c1ee7
Remove error in broadcast 2023-04-26 18:12:03 +02:00
mcrakhman
321f843e8e
Change test name for fuzzy merge 2023-04-20 12:48:25 +02:00
mcrakhman
245188760a
Change error to typed in treeremotegetter 2023-04-20 12:46:36 +02:00
mcrakhman
077cdd6278
Refactor genchanges 2023-04-20 11:26:53 +02:00
mcrakhman
4a22eabebd
Fix proto 2023-04-20 00:04:16 +02:00
mcrakhman
0d514560a4
Simplify request factory 2023-04-19 22:52:06 +02:00
mcrakhman
fed0eee243
Change sync client message pool interactions and request-reply 2023-04-19 22:43:46 +02:00
mcrakhman
52816f0f44
Fix sending reply with empty rootchange 2023-04-19 21:16:32 +02:00
mcrakhman
3b3a0199bd
Update object sync error handling logic 2023-04-19 20:42:47 +02:00
mcrakhman
bfb9ed1d83
Further test comments and changes 2023-04-19 11:52:11 +02:00
mcrakhman
bb47f0aa21
Add comments to test 2023-04-19 11:49:04 +02:00
mcrakhman
dc910d51c5
Fix objectsync etc 2023-04-18 22:51:12 +02:00
mcrakhman
c64921a249
Send error response on sync (wip) 2023-04-18 12:09:25 +02:00
mcrakhman
07b16554cd
Change treegetter to treemanager and return BuildObjectTreeFunc 2023-04-18 00:34:14 +02:00
mcrakhman
520c9717ca
Add tests and don't load data into changes 2023-04-17 23:51:17 +02:00
mcrakhman
767f3aac96
Add test with random trees 2023-04-17 21:49:51 +02:00
mcrakhman
977308edcc
Improve validator logic and add tests 2023-04-13 23:55:28 +02:00
mcrakhman
4a1a95a7b9
Add empty client logic 2023-04-13 21:32:39 +02:00
Dmitry Bilienko
3563206ef1
Cache | Reduce RAM 2023-03-28 16:25:36 +08:00