44 Commits

Author SHA1 Message Date
mcrakhman
b71360ec01
Change obj tree logic to include their heads on add raw changes 2022-12-12 17:17:09 +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
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
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
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
mcrakhman
58812a568f
WIP root change refactoring 2022-09-25 13:50:35 +02:00
mcrakhman
dc69e93064
Some renamings and fixes 2022-09-18 11:23:01 +02:00
mcrakhman
04184b1582
Remove responsibility of objecttree to notify and move to synctree 2022-09-17 21:39:17 +02:00
mcrakhman
91aacdd955
Add build tree sync request 2022-09-16 00:22:22 +02:00
mcrakhman
34ef43786c
Update tree sync logic 2022-09-15 13:42:51 +02:00
mcrakhman
fbdf820734
Add sync tree and remove head send from sync handler 2022-09-15 12:34:28 +02:00