65 Commits

Author SHA1 Message Date
mcrakhman
3c30f72cd5
WIP refactoring syncstatus headsync 2022-12-25 15:08:26 +01:00
mcrakhman
b0b75ac8ea
Fix sync bugs (connection with different nodes on stream and diff) 2022-12-21 21:24:17 +01:00
mcrakhman
108900e88a
Send head notify message on object create 2022-12-21 19:50:46 +01:00
mcrakhman
f1d1a26b64
Few more fixes in tests 2022-12-19 18:51:31 +01:00
mcrakhman
15ccf29f0b
Statusservice refactoring 2022-12-19 17:54:06 +01:00
mcrakhman
322a8d144a
Add some comments and checks 2022-12-18 13:43:05 +01:00
mcrakhman
364ec32a39
Added simple watcher and statusservice upgrades 2022-12-17 21:48:48 +01:00
mcrakhman
5df4f13938
Add preliminary interfaces for syncstatus 2022-12-17 16:55:15 +01:00
mcrakhman
060c14792c
Fix tests 2022-12-17 14:00:39 +01:00
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