110 Commits

Author SHA1 Message Date
Sergey Cherepanov
1676d02d80
metric service, ocache and drpc handlers 2022-10-08 20:16:20 +03:00
Sergey Cherepanov
7e6c72a198
consistent node db component 2022-09-30 19:16:44 +03:00
mcrakhman
9be23b4ff7
Add push space logic and change storage interface 2022-09-28 09:18:04 +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
632d73698f
More test fixes 2022-09-26 14:41:50 +02:00
mcrakhman
674e784318
Make acl list etc compile 2022-09-26 13:47:34 +02:00
mcrakhman
d77d8dbdd1
Fixes to acls 2022-09-26 12:03:20 +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
eb36eed4c0
Add tree validation before saving 2022-09-16 07:47:36 +02:00
mcrakhman
fbdf820734
Add sync tree and remove head send from sync handler 2022-09-15 12:34:28 +02:00
mcrakhman
f900cbff0b
WIP sync 2022-09-14 18:54:10 +02:00
mcrakhman
5599277bf2
Generate drpc and some fixes 2022-09-13 15:52:47 +02:00
mcrakhman
7a62b348cd
Revert "Use string instead of bytes, to simplify code"
This reverts commit a907cde3993868dbf27938fe609fd2bbc02db2b5.
2022-09-13 12:26:37 +02:00
mcrakhman
a907cde399
Use string instead of bytes, to simplify code 2022-09-13 10:44:02 +02:00
mcrakhman
77bbb64feb
Fix pkg tests 2022-09-13 09:04:47 +02:00
mcrakhman
b5aa0b135f
Fix list package and some storage stuff 2022-09-12 21:25:27 +02:00
mcrakhman
9976a84d42
WIP proto refactoring 2022-09-12 21:06:20 +02:00
mcrakhman
018406d25c
Merge branch 'main' into space-sync 2022-09-11 21:26:43 +02:00
mcrakhman
639cc302d2
Fix tree append logic, validtate only new changes and check unattached changes which were added at this round 2022-09-11 18:45:47 +02:00
mcrakhman
3cbdf798a2
Merge branch 'drpc-services' into space-sync
# Conflicts:
#	Makefile
#	cmd/node/node.go
#	pkg/acl/aclchanges/aclpb/aclchanges.pb.go
#	pkg/acl/acltree/aclstatebuilder.go
#	pkg/acl/acltree/change.go
#	pkg/acl/example/plaintextdocument/document.go
#	pkg/acl/example/plaintextdocument/plaintextdocstate.go
#	pkg/acl/list/aclstate.go
#	pkg/acl/list/changebuilder.go
#	pkg/acl/testutils/testchanges/proto/test.pb.go
#	pkg/acl/testutils/treestoragebuilder/treestoragebuilder.go
#	pkg/acl/testutils/treestoragebuilder/treestoragebuildergraph_nix.go
#	pkg/acl/tree/treegraph_nix.go
#	service/document/service.go
#	service/space/service.go
#	service/space/space.go
#	service/sync/requesthandler/requesthandler.go
#	service/treecache/service.go
#	syncproto/helpers.go
#	syncproto/sync.pb.go
2022-09-11 15:36:38 +02:00
mcrakhman
74ebcc5616
Few more changes and tree fixes 2022-09-09 09:45:25 +02:00
mcrakhman
0685f401f3
Change tree Rebuild checks 2022-09-09 09:01:50 +02:00
mcrakhman
235c179d60
Refactor ACLState a little bit 2022-09-08 23:20:11 +02:00
Sergey Cherepanov
caa725dc20
package moving + commonaspace and nidespace services 2022-09-08 21:56:32 +03:00
Sergey Cherepanov
bee067ad76
space service periodic sync 2022-09-08 12:05:30 +03:00
mcrakhman
88bf93a2cc
Fix tests 2022-09-08 08:08:33 +02:00
mcrakhman
20f462e603
Add load from database tests and fixes 2022-09-07 23:23:59 +02:00
Sergey Cherepanov
11cb1e1f31
drpc space service, new pool, new peer 2022-09-08 00:00:46 +03:00
mcrakhman
5b1228e14d
More tests and fixes for reading from tree 2022-09-07 22:30:29 +02:00
mcrakhman
de1a5baaca
Change sync logic 2022-09-07 22:01:11 +02:00
mcrakhman
3ca8814e46
WIP algorithm 2022-09-07 21:02:42 +02:00
Sergey Cherepanov
7afde45ac6
change proto generator to std gogo: fix tests 2022-09-07 19:49:54 +03:00
Sergey Cherepanov
357e889dad
change proto generator to std gogo 2022-09-07 19:43:01 +03:00
mcrakhman
024f316b3a
Merge branch 'main' into new-tree-structure
# Conflicts:
#	Makefile
#	cmd/node/node.go
#	syncproto/sync.pb.go
2022-09-07 16:38:18 +02:00
mcrakhman
1375854237
Fix addcontent acl list locks 2022-09-07 11:31:16 +02:00
mcrakhman
c7fdd81691
More test cases 2022-09-07 01:02:53 +02:00
mcrakhman
276d935cee
Add more tests and fix bugs 2022-09-07 00:12:11 +02:00
mcrakhman
9905b2608b
Add first test for object tree 2022-09-06 20:58:41 +02:00
mcrakhman
06f80f0646
Change storages and add iterate 2022-09-06 20:23:57 +02:00
mcrakhman
cde907e15a
Add mocks for tree 2022-09-06 19:25:06 +02:00
mcrakhman
94c95b44ec
Make better dependencies for object tree 2022-09-06 18:08:24 +02:00
mcrakhman
b8e3ec8b7b
Rename to object tree 2022-09-05 13:08:49 +02:00
mcrakhman
9a1dc89a99
Fixing several copy issues and other stuff in doc tree 2022-09-05 12:40:41 +02:00
mcrakhman
90cee00319
Further changes to treebuilder etc 2022-09-05 11:48:50 +02:00
mcrakhman
1ad4eba17e
Fix algorithms and add tests 2022-09-04 17:05:00 +02:00
mcrakhman
b87c38e232
Add tree reduce 2022-09-04 16:05:38 +02:00
mcrakhman
b602c08603
Change tree iterate 2022-09-04 14:34:37 +02:00