117 Commits

Author SHA1 Message Date
mcrakhman
526ddf12d5
WIP storage 2022-10-10 23:08:44 +02:00
mcrakhman
d3acc71d95
Add some raw prototypes for storage 2022-10-10 20:10:47 +02:00
mcrakhman
afc9141a7c
Merge remote-tracking branch 'origin/consensus-node' into sync-tests
# Conflicts:
#	Makefile
#	go.mod
#	go.sum
2022-10-07 16:02:43 +02:00
mcrakhman
edc9a14ef5
Few tree sync fixes and additions 2022-10-01 21:04:31 +02:00
Sergey Cherepanov
7e6c72a198
consistent node db component 2022-09-30 19:16:44 +03:00
mcrakhman
48ae45550d
Add diffservice tests 2022-09-30 16:55:34 +02:00
mcrakhman
86ef6d2dd6
Move mocks to separate packages 2022-09-30 15:53:33 +02:00
mcrakhman
c01441460b
Add push space custom matchers 2022-09-30 14:41:36 +02:00
mcrakhman
b9c9424103
Add mock to write diffservice tests 2022-09-30 13:49:31 +02: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