Commit Graph
132 Commits
Author SHA1 Message Date
mcrakhman f4aeecae84 Add rollback after adding invalid changes 2022-08-16 00:57:38 +02:00
mcrakhman 9142f28d55 Refactoring doc tree 2022-08-15 23:31:00 +02:00
mcrakhman 340528f5af Fix update document 2022-08-12 10:01:01 +02:00
mcrakhman 66067a3506 Fix bugs related to docTree and aclTree 2022-08-11 19:04:29 +02:00
mcrakhman eed3c518cd Move treeheader to upper level in sync 2022-08-11 16:31:09 +02:00
mcrakhman 88b0e8cd7e Add storage and change API to include both tree types 2022-08-11 15:54:27 +02:00
mcrakhman 028cb99586 Update sync layer to work with different trees 2022-08-11 15:33:39 +02:00
mcrakhman 37eacb5d61 Rewrite document service methods 2022-08-11 11:04:03 +02:00
mcrakhman e7956901de Start tree cache and document rewrite 2022-08-10 22:16:16 +02:00
mcrakhman 0e3d7cc8ca Add doc tree 2022-08-10 18:10:28 +02:00
mcrakhman 103c8a4aef Further work acltree, aclstate etc 2022-08-10 14:48:17 +02:00
mcrakhman b7190b6a74 Add read and write methods for treecache 2022-08-10 12:53:15 +02:00
mcrakhman ddf976e240 Add tree removal for state build 2022-08-10 12:00:22 +02:00
mcrakhman d23cc0a239 Add acltree in new package 2022-08-10 11:52:45 +02:00
mcrakhman ff5a0d6a45 Start refactoring tree package 2022-08-09 21:48:14 +02:00
mcrakhman 6a1e7d9a20 Fix sync logic, move acks after handling finished, made message service async 2022-08-06 10:22:09 +02:00
mcrakhman 7eb965977a Merge branch 'sync-prototype' 2022-08-05 21:06:13 +02:00
mcrakhman 48627c0901 Fix replyId update and add goroutine in handleMessage 2022-08-05 21:05:47 +02:00
mcrakhman fbaf96eb38 Fix sync bugs and add logs 2022-08-05 18:14:35 +02:00
mcrakhman 31517db9bf Add contexts and fix bugs 2022-08-05 17:23:43 +02:00
mcrakhman d0ecf74836 Change dialling logic 2022-08-05 16:33:37 +02:00
mcrakhman 89fb94420a Fix compile errors and add dependencies 2022-08-05 14:19:03 +02:00
mcrakhman 3e81762f27 Add message to syncproto, fix request handler 2022-08-05 13:44:23 +02:00
mcrakhman 06a362225f Merge remote-tracking branch 'origin/net' into sync-prototype
# Conflicts:
#	cmd/node/node.go
#	config/config.go
#	config/grpc.go
#	etc/config.yml
#	service/net/rpc/server/drpcserver.go
#	service/net/secure/service.go
2022-08-05 12:40:02 +02:00
Sergey Cherepanov 62c5d8e3b9 net utils wip 2022-08-05 12:07:34 +03:00
mcrakhman 4724fab97e Add indication in tree graph for non-acl changes 2022-08-03 14:47:31 +02:00
mcrakhman b7e94f2b52 Change config generation logic 2022-08-03 14:20:20 +02:00
mcrakhman ad99bbb7e8 Add logs for receiving a message, descriptive messages for api 2022-08-02 20:50:35 +02:00
mcrakhman 7a1ddf9c83 Fix server starting, add some logs 2022-08-02 20:28:33 +02:00
mcrakhman cc134da1ed Change bootstrap, remove cycles 2022-08-02 20:08:07 +02:00
mcrakhman e6be9ea84e Add http server for debugging 2022-08-02 19:28:32 +02:00
mcrakhman 718df194fe Add component registration on start 2022-08-02 17:36:37 +02:00
mcrakhman 26eb52adf1 Add nodes generation 2022-08-02 17:30:59 +02:00
mcrakhman f5ec49b375 Add document service 2022-07-21 11:54:19 +02:00
mcrakhman 9aaa80dcc1 Update tree cache for document creation 2022-07-21 11:03:39 +02:00
mcrakhman 3463b8d374 WIP sync logic prototype with server 2022-07-19 10:40:31 +02:00
mcrakhman 16b3787258 WIP stream logic 2022-07-19 01:43:21 +02:00
mcrakhman 269f907d1d Add message service to handle streams 2022-07-19 00:47:22 +02:00
mcrakhman 5f2144db0f Use account key instead of generating new 2022-07-18 22:27:27 +02:00
mcrakhman 693c159360 Merge remote-tracking branch 'origin/grpc-experiments' into sync-prototype
# Conflicts:
#	cmd/node/node.go
2022-07-18 14:45:25 +02:00
mcrakhman 7a6c42df62 Add oneof to sync proto 2022-07-18 10:45:05 +02:00
mcrakhman 9f984054b6 Create new tree logic 2022-07-17 13:34:07 +02:00
Sergey Cherepanov 1400e57cf7 merge 2022-07-17 09:54:59 +03:00
Sergey Cherepanov 7f4b18104f drpc server, libp2p tls connections 2022-07-17 09:44:16 +03:00
mcrakhman d9452509b5 WIP new document logic 2022-07-16 14:24:27 +02:00
mcrakhman d120da8000 Move logic to different components 2022-07-16 13:21:46 +02:00
mcrakhman bc5ffe1828 Add getting common snapshot logic 2022-07-16 12:24:49 +02:00
mcrakhman 5211267cd2 Provide for getting new tree 2022-07-16 00:50:08 +02:00
mcrakhman 67e0956042 Fix request handler heads update logic 2022-07-15 18:10:31 +02:00
mcrakhman 0467933ae9 Start using raw changes + wip request handler 2022-07-15 16:27:10 +02:00