56 Commits

Author SHA1 Message Date
mcrakhman
a43d25841d
Fixing tests wip 2022-12-16 23:39:00 +01:00
mcrakhman
3b320087f3
Add comments and fix streampool test 2022-12-16 21:02:34 +01:00
mcrakhman
0c85336e82
Add queue to sync client 2022-12-16 16:40:23 +01:00
mcrakhman
367bd1978d
Move queue to separate object 2022-12-16 13:09:15 +01:00
mcrakhman
8a6a5a6bc1
More fixes to synctree and objecttree 2022-12-15 21:53:58 +01:00
mcrakhman
c064f89988
Add queue to handle quickly updating records 2022-12-15 17:20:11 +01:00
mcrakhman
c36fe14272
Removed sending under a lock in sync tree handler 2022-12-14 21:37:36 +01:00
mcrakhman
b71360ec01
Change obj tree logic to include their heads on add raw changes 2022-12-12 17:17:09 +01:00
mcrakhman
d7cce3c9fb
Few fixes to syncservice and streamchecker 2022-12-09 21:53:24 +01:00
mcrakhman
5eaa3bfe44
Fix stream checker and tests 2022-12-09 19:55:57 +01:00
mcrakhman
eb078d311a
Add stream checker 2022-12-09 17:16:43 +01:00
mcrakhman
de12b35216
Change tree creation logic 2022-12-06 10:20:05 +01:00
mcrakhman
f9a064e9aa
Remove duplicated code 2022-12-05 19:11:16 +01:00
mcrakhman
a8507d8120
Update synctree ping logic 2022-12-05 18:51:59 +01:00
mcrakhman
acf5b95646
Fix notifiable when creating sync tree 2022-12-05 17:21:14 +01:00
mcrakhman
9ae5710854
Simplify space locked solution 2022-12-03 11:48:18 +01:00
mcrakhman
494b7552ce
Stopped space from unloading if trees are still there 2022-12-02 19:45:43 +01:00
mcrakhman
aaecd2ae6d
Move notifiable logic to synctree instead of syncclient 2022-12-02 14:14:02 +01:00
mcrakhman
82400407b9
Improve interfaces for synctree, generate mocks 2022-11-28 16:54:31 +01:00
mcrakhman
620731b464
Re-generate mocks and fix sync tree tests 2022-11-25 14:37:00 +01:00
mcrakhman
ff81bf1fac
Add sync listener nil check 2022-11-25 09:46:01 +01:00
mcrakhman
55e04cd2cd
Change push space and some tree deletion logic 2022-11-24 20:24:59 +01:00
mcrakhman
f6d8183001
Simplify deletion pipeline and change other stuff 2022-11-24 01:17:56 +01:00
mcrakhman
8854bbbe95
Fix some document deletion bugs 2022-11-12 22:55:12 +01:00
mcrakhman
fed41ba3aa
Add non-encrypted changes and settings document logic 2022-11-12 13:36:30 +01:00
mcrakhman
72d83ca171
WIP document deletion 2022-11-11 12:37:45 +01:00
mcrakhman
020b1f1d71
Change pullspace and pushspace methods and handlers 2022-11-10 20:10:57 +01:00
mcrakhman
925005a9de
Fix tests and change peer id context logic 2022-11-07 13:36:10 +01:00
mcrakhman
f4027b433d
Fix mocks and formatting 2022-10-26 22:05:55 +02:00
mcrakhman
7b5c51a198
Change tree methods and start adding tree tests 2022-10-26 12:55:47 +02:00
mcrakhman
305cd2d795
Remove lastusage from syncclient 2022-10-24 14:46:24 +02:00
mcrakhman
3546fabdfa
Merge branch 'main' into add-client-functionality
# Conflicts:
#	common/commonspace/syncservice/streampool.go
#	consensus/stream/service.go
2022-10-24 14:40:44 +02:00
mcrakhman
7bd593f0e5
Stream pool and synctree fixes 2022-10-24 10:31:29 +02:00
mcrakhman
63d353a078
Add tests for sync handler 2022-10-23 22:24:13 +02:00
mcrakhman
bf7a8b0854
Test sync tree 2022-10-23 18:19:15 +02:00
mcrakhman
09f28cf829
Refactor synctree 2022-10-22 16:19:47 +02:00
mcrakhman
58f0cf2916
Change proto and generalise logic 2022-10-22 16:05:06 +02:00
mcrakhman
d6a45cced0
Move concrete logic to concrete packages 2022-10-22 14:23:55 +02:00
mcrakhman
8cc44c4a79
WIP sync refactoring 2022-10-22 13:04:58 +02:00
mcrakhman
2085e3ae40
Don't broadcast when no content added 2022-10-21 21:32:37 +02:00
mcrakhman
aa47d8ecf8
Fix listener sync tree and diff iter bug 2022-10-20 19:39:45 +02:00
mcrakhman
4da28bcd86
Fix bug with head update not being sent on first receive 2022-10-20 18:56:09 +02:00
mcrakhman
f21f05585c
Fix bugs with storage 2022-10-20 16:02:16 +02:00
mcrakhman
95cb91ffad
Add space and tree close logic and fix some related tests 2022-10-19 12:20:24 +02:00
Sergey Cherepanov
7548082355
move pkgs 2022-10-17 14:11:55 +03:00
mcrakhman
c3d8273caa
SyncTree tests 2022-10-10 09:10:47 +02:00
mcrakhman
274573df28
Further updates to sync logic 2022-10-02 16:11:47 +02:00
mcrakhman
e99650615d
Fix circular deps etc 2022-09-29 16:22:56 +02:00
mcrakhman
51af8c223d
Add space/tree creation and derivation and push space protocol changes 2022-09-27 21:06:49 +02:00
mcrakhman
9d73e1d5c1
Remove decoders and fix sync tree 2022-09-26 20:32:59 +02:00