1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00
Commit graph

56 commits

Author SHA1 Message Date
Sergey Cherepanov
0f9a319e58
peer: fix closed connection release 2025-03-27 14:16:10 +01:00
Mikhail Rakhmanov
0cac23037c
Fix snapshot path, update mocks, ignore heads mismatch error 2025-03-11 16:20:44 +01:00
mcrakhman
d17864b416
Regenerate mocks, fix synctree and syncacl tests 2025-02-04 23:45:45 +01:00
AnastasiaShemyakinskaya
7a9666ce09
GO-2828: added AliveTimeSecs field
Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
2024-11-18 12:40:55 +01:00
AnastasiaShemyakinskaya
bdd028b1e1
Merge branch 'main' of github.com:anyproto/any-sync into go-2828-add-debug-diagnostics-for-spaces-and-connections 2024-11-18 11:53:00 +01:00
AnastasiaShemyakinskaya
abaaa027b3
GO-2828: partly fixed comments
Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
2024-11-08 17:36:19 +01:00
AnastasiaShemyakinskaya
c0f3ea733a
GO-2828: fix comments
Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
2024-10-30 14:13:35 +01:00
Anthony Akentiev
4338440bed
Add mocks target to Makefile, regenerate mocks 2024-10-26 18:48:47 +01:00
AnastasiaShemyakinskaya
a3c50a46de
GO-2828: add more fields
Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
2024-10-10 11:43:43 +02:00
AnastasiaShemyakinskaya
cb2af70690
GO-2828: add peer stat
Signed-off-by: AnastasiaShemyakinskaya <shem98a@mail.ru>
2024-10-09 17:03:48 +02:00
mcrakhman
0519718e51
Merge branch 'main' into GO-2482-full-sync-request-max-size
# Conflicts:
#	commonspace/headsync/diffsyncer.go
#	commonspace/object/acl/syncacl/requestfactory.go
#	commonspace/object/acl/syncacl/syncacl.go
#	commonspace/object/acl/syncacl/syncaclhandler.go
#	commonspace/object/acl/syncacl/syncaclhandler_test.go
#	commonspace/object/tree/synctree/requestfactory.go
#	commonspace/object/tree/synctree/synctree.go
#	commonspace/object/tree/synctree/synctreehandler.go
#	commonspace/object/tree/synctree/synctreehandler_test.go
#	commonspace/object/tree/synctree/treeremotegetter.go
#	commonspace/object/tree/synctree/treesyncprotocol.go
#	commonspace/object/tree/synctree/treesyncprotocol_test.go
#	commonspace/object/tree/synctree/utils_test.go
#	commonspace/objectsync/objectsync.go
#	commonspace/objectsync/synchandler/synchhandler.go
#	commonspace/requestmanager/requestmanager.go
#	commonspace/requestmanager/requestmanager_test.go
#	go.mod
#	net/rpc/rpctest/peer.go
#	net/secureservice/secureservice.go
2024-08-12 16:51:03 +02:00
mcrakhman
120561a7f6
Request manager and context tests 2024-08-05 18:43:51 +02:00
mcrakhman
a5d2bbe830
Fast ttl for connections and marshal append 2024-07-15 23:29:25 +02:00
mcrakhman
e7c3edab82
Add peer version 2024-07-02 12:57:20 +02:00
mcrakhman
bab5cb694f
Add protocol version to context and add new sync logic 2024-07-02 11:38:03 +02:00
Sergey Cherepanov
7f2b2a5194
extra conn close 2024-04-25 11:36:17 +02:00
Sergey
67907c89cc
Generate mocks 2024-01-24 10:01:00 +01:00
Sergey Cherepanov
b52aa184d6
fix tests 2023-12-22 17:36:51 +01:00
Sergey Cherepanov
afda392d20
CloseChan peer interface 2023-12-22 17:33:02 +01:00
Sergey Cherepanov
9a37dc8cbc
load remote only with peer 2023-11-13 16:29:42 +01:00
mcrakhman
ce7bce7e48
Change treesyncer component and mocks 2023-09-27 22:41:33 +02:00
Sergey Cherepanov
7250d309ea
peer.SetTTL method 2023-08-09 15:56:26 +02:00
mcrakhman
13b89c3a69
Merge branch 'release-fixes' into metadata-key
# Conflicts:
#	commonspace/headsync/diffsyncer.go
#	commonspace/headsync/headsync.go
2023-08-03 09:53:16 +02:00
mcrakhman
21a9ce6035
Fix openingWaitCount logic 2023-07-14 16:19:38 +02:00
Sergey Cherepanov
1a23081336
merge 2023-07-10 19:12:58 +02:00
Sergey Cherepanov
ef128dd33f
switch to uber/gomock 2023-07-10 15:41:22 +02:00
mcrakhman
ab34ff4bc9
Fix not sending correct connection and incoming count 2023-07-04 08:07:55 +02:00
mcrakhman
53e9c4ab02
Merge branch 'main' into acl-change
# Conflicts:
#	net/peer/peer.go
2023-06-28 23:12:04 +02:00
mcrakhman
061522eec2
Update protocol 2023-06-26 19:38:54 +02:00
Sergey Cherepanov
e929d5431d
correct throttle counting 2023-06-23 17:39:13 +02:00
Sergey Cherepanov
894f4db1ff
peer sub connections throtling + fixes 2023-06-23 16:54:55 +02:00
mcrakhman
718a5b04dc
Update proto 2023-06-22 13:42:38 +02:00
Sergey Cherepanov
c753da8def
client version to handshake 2023-06-13 15:30:14 +02:00
Sergey Cherepanov
733027d798
remove multiconn.LastUsage + fix peer gc 2023-06-13 13:40:13 +02:00
Sergey Cherepanov
ab6ecaa462
write deadline + check conn for close 2023-06-12 18:42:30 +02:00
Sergey Cherepanov
e97e6b68c6
peer: gc active sub conn 2023-06-09 19:14:23 +02:00
Sergey Cherepanov
33cbdd06a6
drpc conn config 2023-06-08 13:10:30 +02:00
mcrakhman
4d1494a17a
Add mocks and some requestmanager tests 2023-06-07 19:31:15 +02:00
Sergey Cherepanov
af9d71d16e
peer subConn gc 2023-06-05 21:23:41 +02:00
Sergey Cherepanov
0c0a501aad
peer outgoing proto handshake + test multiconn + streampool tests 2023-06-05 20:39:09 +02:00
Sergey Cherepanov
e9f23e2dd9
peer.DoDrpc method 2023-06-02 10:39:24 +02:00
Sergey Cherepanov
fb007211f0
simplify drpc server + peer accept loop 2023-05-31 20:24:07 +02:00
Sergey Cherepanov
553ed3a64b
peer drpc conn pool 2023-05-29 17:56:44 +02:00
Sergey Cherepanov
7958b43da6
peer service 2023-05-26 20:06:22 +02:00
Mikhail Iudin
dbae377351
fix imports 2023-05-23 14:47:24 +02:00
Sergey Cherepanov
39a8c59f83
stream ctx + peer addr 2023-05-04 17:38:34 +02:00
mcrakhman
4efe189eec
Fix handshake tests 2023-03-26 13:45:24 +02:00
Roman Khafizianov
7cd737a08a
change logger name 2023-03-13 14:14:55 +01:00
Roman Khafizianov
96c4ea3a45
cleanup logger names 2023-03-10 19:32:20 +01:00
mcrakhman
307b741dc7
Update tryclose with ttl 2023-03-10 10:17:57 +01:00