Commit Graph
100 Commits
Author SHA1 Message Date
mcrakhman e08b3ba659 Add syncaclhandler tests 2023-07-12 15:58:41 +02:00
mcrakhman 22ec754ca7 Add sync protocol tests 2023-07-12 14:12:00 +02:00
mcrakhman febfb72cec Add diffsyncer tests 2023-07-12 12:09:55 +02:00
mcrakhman 098120da84 Update headsync tests 2023-07-11 13:58:59 +02:00
mcrakhman bf7e256065 Merge remote-tracking branch 'origin/consensus-client' into acl-sync-protocol
# Conflicts:
#	consensus/consensusproto/consensus.pb.go
2023-07-11 13:58:45 +02:00
mcrakhman b4cc8d0a61 Change head sync update behaviour 2023-07-10 23:47:29 +02:00
mcrakhman 94aea5bafb Expose Acl in space 2023-07-10 23:17:05 +02:00
mcrakhman 3c5e3bed96 Merge branch 'main' into acl-sync-protocol 2023-07-10 15:56:45 +02:00
Mikhail Rakhmanov 79cc89bec2 Merge pull request #43 from anyproto/remove-object-load-deadline 2023-07-04 16:55:12 +02:00
mcrakhman fe31afc337 Remove cancel with deadline 2023-07-04 16:51:14 +02:00
Mikhail Rakhmanov ac8c8e4a31 Merge pull request #42 from anyproto/fix-peer-connection 2023-07-04 11:12:38 +02:00
mcrakhman ab34ff4bc9 Fix not sending correct connection and incoming count 2023-07-04 08:07:55 +02:00
mcrakhman bef93d46ad Implement sync protocol 2023-07-03 18:19:23 +02:00
mcrakhman 8aa41da1ff Merge remote-tracking branch 'origin/consensus-client' into acl-sync-protocol
# Conflicts:
#	consensus/consensusproto/consensus.pb.go
2023-07-03 17:16:43 +02:00
mcrakhman 0d16c5d7e4 WIP sync logic 2023-07-03 15:48:48 +02:00
mcrakhman 145332b0f7 Add headsync acl logic 2023-07-03 13:43:54 +02:00
mcrakhman 51ac955f1c Add sync protocol interfaces 2023-07-02 15:55:58 +02:00
Mikhail Rakhmanov b10d72a092 Merge pull request #40 from anyproto/acl-change 2023-07-02 15:54:07 +02:00
mcrakhman 822e7f374d Change to consensus proto 2023-07-01 13:17:18 +02:00
mcrakhman e094743fbc Merge remote-tracking branch 'origin/consensus-client' into acl-change 2023-07-01 12:51:05 +02:00
mcrakhman 5ffc175f4f Remove time from test 2023-06-29 01:05:43 +02:00
mcrakhman 68cda47ede Update list mock 2023-06-29 01:00:52 +02:00
mcrakhman f4cbbfa374 Update tests 2023-06-29 00:57:24 +02:00
mcrakhman 53e9c4ab02 Merge branch 'main' into acl-change
# Conflicts:
#	net/peer/peer.go
2023-06-28 23:12:04 +02:00
Mikhail Rakhmanov 8dc0ead8f3 Merge pull request #39 from anyproto/fix-last-iterated-id
Add lastIteratedId when setting merged heads
2023-06-28 22:33:21 +02:00
mcrakhman 02b326cc90 Add lastIteratedId when setting merged heads 2023-06-28 21:34:50 +02:00
mcrakhman e5b4f62e48 fix nodes online 2023-06-28 17:35:45 +02:00
mcrakhman 3f08fcb555 Add account remove test 2023-06-28 15:43:35 +02:00
mcrakhman 39f41c52d1 Add invite test 2023-06-28 14:55:17 +02:00
mcrakhman ffd613a5fc Fix requestmanager test 2023-06-28 11:59:13 +02:00
mcrakhman 0ffbb6fa5a Rework ACL structures 2023-06-27 19:44:44 +02:00
mcrakhman 061522eec2 Update protocol 2023-06-26 19:38:54 +02:00
mcrakhman 62f23b7229 Update record builder to build new payloads 2023-06-26 11:43:17 +02:00
mcrakhman 81aadfde7e Add validate method in list 2023-06-26 10:10:14 +02:00
mcrakhman 7577c14d5f Add state apply changes 2023-06-23 16:16:26 +02:00
mcrakhman f9bab4d51d Add content validator 2023-06-23 14:50:09 +02:00
mcrakhman 1fada6f336 Merge branch 'main' into acl-change 2023-06-23 13:44:38 +02:00
Mikhail Rakhmanov 0095a34167 Merge pull request #35 from anyproto/fix-raw-loader 2023-06-22 19:31:02 +02:00
mcrakhman 2c573138e6 Correctly removing changes which we don't need to send 2023-06-22 19:22:56 +02:00
mcrakhman 718a5b04dc Update proto 2023-06-22 13:42:38 +02:00
Mikhail Rakhmanov 1b47a54f87 Merge pull request #32 from anyproto/sync-improvements 2023-06-20 13:24:47 +02:00
mcrakhman 8e7df9eae5 Sync updates 2023-06-20 12:02:05 +02:00
Mikhail Rakhmanov fe7b97bee9 Merge pull request #27 from anyproto/change-add-to-tryadd-streampool 2023-06-19 11:14:52 +02:00
mcrakhman a9889a6245 TryAdd correctly 2023-06-19 11:10:56 +02:00
mcrakhman 16be33fc96 Change Add to TryAdd 2023-06-19 10:41:16 +02:00
Mikhail Rakhmanov 2ea446184d Merge pull request #26 from anyproto/cache-cancel-load-close
Cancel on cache close
2023-06-15 17:38:14 +02:00
mcrakhman 18716eebb4 Cancel on cache close 2023-06-15 13:08:03 +02:00
Mikhail Rakhmanov 8f984443b9 Merge pull request #23 from anyproto/no-retry-on-not-found 2023-06-13 19:09:31 +02:00
mcrakhman cc3da7e66b Simplify tree remote getter 2023-06-13 19:00:01 +02:00
mcrakhman 060c6d1231 Retry fail on treechangeproto.ErrGetTree 2023-06-13 18:14:13 +02:00
Mikhail Rakhmanov 759c48c6b7 Merge pull request #21 from anyproto/add-treegetter-get-timeout 2023-06-13 15:51:32 +02:00
mcrakhman 0ca2fe5e7e Change naming 2023-06-13 15:36:23 +02:00
mcrakhman 6eda884686 Remove goto 2023-06-13 15:26:42 +02:00
mcrakhman 5c884afcf1 Make error typed 2023-06-13 15:22:46 +02:00
mcrakhman 2aaa8f4a0c Change retry logic and add tests 2023-06-13 15:21:11 +02:00
mcrakhman b0c0e4b26e Fix proto version 2023-06-09 17:10:25 +02:00
Mikhail Rakhmanov 90c5ef3311 Merge pull request #15 from anyproto/new-sync-protocol 2023-06-09 11:44:35 +02:00
mcrakhman 35c29a4842 Add WithServer for TestPool 2023-06-08 21:07:03 +02:00
mcrakhman dad76def2f Merge branch 'new-sync-protocol-tests' into new-sync-protocol 2023-06-07 22:05:43 +02:00
mcrakhman 318a49c526 Change objectsync injection 2023-06-07 22:05:05 +02:00
mcrakhman c8c0839a57 Add request manager tests 2023-06-07 21:48:13 +02:00
mcrakhman 4d1494a17a Add mocks and some requestmanager tests 2023-06-07 19:31:15 +02:00
mcrakhman 51eb5b1a42 Fix settings and deletion tests 2023-06-07 18:05:13 +02:00
mcrakhman 564c636391 Fix diffsyncer tests 2023-06-07 14:09:29 +02:00
mcrakhman 4ef617b1f2 More headsync tests 2023-06-07 13:06:37 +02:00
mcrakhman 2f5e0dd6c8 WIP headsync tests revive 2023-06-07 11:30:27 +02:00
mcrakhman 8310cb3c05 Fix sync protocol integration tests 2023-06-06 22:08:06 +02:00
mcrakhman 100e7e04c3 SyncTreeHandler tests 2023-06-06 21:49:23 +02:00
mcrakhman b18bb02176 TreeSyncProtocol tests 2023-06-06 20:50:53 +02:00
mcrakhman 3a2f9fe6f5 WIP synctree tests rewrite 2023-06-06 20:10:44 +02:00
mcrakhman 67d535362f Different fixes 2023-06-06 17:18:59 +02:00
mcrakhman 4c45ad3e67 Merge remote-tracking branch 'origin/yamux' into new-sync-protocol 2023-06-06 10:43:52 +02:00
mcrakhman e96524f702 Yamux setaccepter 2023-06-06 10:43:43 +02:00
mcrakhman 66775873c7 Add syncstatusprovider 2023-06-05 20:44:27 +02:00
mcrakhman 69e607eddb Expose more methods 2023-06-05 15:16:38 +02:00
mcrakhman 85a093dd4a Change space methods (handle requests) 2023-06-05 15:09:17 +02:00
mcrakhman aff2061bd1 WIP request manager 2023-06-04 19:01:33 +02:00
mcrakhman b85f545fa3 Update connections on space level 2023-06-04 11:17:56 +02:00
mcrakhman 248205cddd Merge remote-tracking branch 'origin/yamux' into new-sync-protocol 2023-06-04 10:43:11 +02:00
mcrakhman ce63951ae6 Update proto files 2023-06-03 22:48:16 +02:00
mcrakhman 990cbc58b6 Add sync requests handling 2023-06-03 22:41:03 +02:00
mcrakhman 748681d765 WIP rearrange components 2023-06-03 15:57:55 +02:00
mcrakhman a89a325d6c Fix sync client 2023-06-02 01:08:56 +02:00
mcrakhman 815bc7927d Wire up the stuff 2023-06-02 00:59:33 +02:00
mcrakhman 796b66478b Further components rearrange 2023-06-01 22:55:37 +02:00
mcrakhman eeb87dd144 WIP further space refactoring 2023-06-01 14:24:58 +02:00
mcrakhman b0fa43fb14 WIP work on components 2023-06-01 10:28:32 +02:00
Mikhail Rakhmanov 85ec3e2313 Merge pull request #7 from anyproto/update-dial-timeout
Update dial timeout
2023-05-29 16:34:36 +02:00
mcrakhman 973d55c12b Update dial timeout 2023-05-29 16:28:28 +02:00
Mikhail Rakhmanov e148577aed Merge pull request #6 from anyproto/space-lifetime-load 2023-05-29 16:11:54 +02:00
mcrakhman 1e1f71d700 Don't close when tree is loading, fix peer conditions 2023-05-29 16:02:59 +02:00
Mikhail Rakhmanov f442b21969 Merge pull request #4 from anyproto/update-tree-syncer 2023-05-26 20:35:05 +02:00
mcrakhman e9ea4e1d3e Provide treemanager from outside for settings id 2023-05-26 20:21:07 +02:00
Mikhail Rakhmanov 7a45acb497 Merge pull request #3 from anyproto/start-headsync 2023-05-26 19:05:21 +02:00
mcrakhman 556f03ed7f Expose more methods in exec pool 2023-05-26 11:29:21 +02:00
mcrakhman f0a3edd798 Add tree syncer 2023-05-26 09:49:09 +02:00
mcrakhman 5b553f1a8d Change headsync logic 2023-05-25 20:23:19 +02:00
mcrakhman a5e2bea04c Update message pool to include optional context deadline 2023-05-24 21:47:59 +02:00
mcrakhman c485baaadf Simplify interface 2023-05-24 15:05:21 +02:00
mcrakhman 2ab43e2b69 Space headsync delayed start 2023-05-24 14:54:10 +02:00