Gaius
f610ab9c0d
test: add ParseProbedCountKeyInScheduler and Snapshot tests ( #2438 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:56 +08:00
Gaius
a44c084f28
feat: handle context in triggerSeedPeerTask ( #2392 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:53 +08:00
Gaius
37c588608a
feat: remove security domain ( #2285 )
...
* feat: remove security domain
Remove security domain in dfdaemon and scheduler.
Remove SecurityGroup and SecurityRule table in manager.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:46 +08:00
Gaius
2cda1def7f
feat: rename HostName to Hostname ( #2205 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:40 +08:00
Gaius
6d13b4a871
feat: add metrics to service v2 ( #2153 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:36 +08:00
Gaius
17649a069c
feat: implement announce peer ( #2150 )
...
feat: implement announce peer api
Add handleDownloadPeerStartedRequest, handleDownloadPeerBackToSourceStartedRequest,
handleDownloadPeerFinishedRequest, handleDownloadPeerBackToSourceFinishedRequest,
handleDownloadPeerFailedRequest, handleDownloadPeerBackToSourceFailedRequest,
handleDownloadPieceFinishedRequest, handleDownloadPieceBackToSourceFinishedRequest,
handleDownloadPieceFailedRequest and handleDownloadPieceBackToSourceFailedRequest,
to AnnouncePeer service api.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:36 +08:00
Gaius
047a55fb84
feat: add handleRegisterSeedPeerRequest to AnnouncePeer in service v2 ( #2147 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:36 +08:00
Gaius
b0e6089783
feat: change ScheduleCandidateParentsForNormalPeer implement ( #2133 )
...
Change ScheduleCandidateParentsForNormalPeer implement.
Remove TaskStateLeave event in task GC.
Implement AnnouncePeer in service v2.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:35 +08:00
Gaius
670c892898
feat: implement v2 version of scheduler service ( #2125 )
...
Implement StatTask, AnnounceHost and LeaveHost api in
scheduler service v2.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:34 +08:00
Gaius
58034e4b1f
refactor: scheduling with v2 grpc ( #2104 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:32 +08:00
Gaius
da8c45f2a8
feat: add host ttl to scheduler ( #2089 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:31 +08:00
Gaius
010396a0f8
feat: use v2 version of host id and add Addrs func to seed peer ( #2086 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:31 +08:00
Gaius
59856bda21
refactor: type of digest in task ( #2084 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:31 +08:00
Gaius
042bb64ce4
refactor: task.SizeScope with v2 grpc in scheduler ( #2082 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:31 +08:00
Gaius
840c599d04
refactor: task piece with v2 grpc ( #2080 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:30 +08:00
Gaius
d8f36a44be
feat: change piece size to length ( #2079 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:30 +08:00
Gaius
a5685582ce
refactor: resource task with v2 version of grpc ( #2078 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:30 +08:00
Gaius
79024c87ca
refactor: parse http range ( #2071 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:30 +08:00
Gaius
09713e547c
fix: peer GC clear all peers when peer's count large than PeerCountLimitForTask ( #2061 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:29 +08:00
Gaius
951705da98
feat: change PeerCountLimitForTask to 1000 ( #2059 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:29 +08:00
Gaius
f7a399b47a
feat: add v2 version of the idgen ( #2056 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:29 +08:00
Gaius
0f5470b5eb
feat: update task type from v1 to v2 ( #2053 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:29 +08:00
Gaius
e1dd1efca1
feat: add AnnouncePeers to task in resource ( #2051 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:29 +08:00
Gaius
29e57d1129
feat: add DownloadTask to seed peer resource ( #2048 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:28 +08:00
Gaius
ad1956fb45
feat: init AnnouncePeerStream of the peer ( #2040 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:28 +08:00
Gaius
51cc31b574
refactor: peer resource with v2 version of the grpc ( #2039 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:28 +08:00
Gaius
d4b55c7287
refactor: announcer and dynconfig with v2 verison of the manager grpc ( #2037 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:27 +08:00
Gaius
2b9aa7bf83
refactor: resource host without scheduler v1 definition ( #2036 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:27 +08:00
Gaius
eb65cd76f6
feat: add directed graph to pkg ( #2014 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:26 +08:00
Gaius
b6f0435011
feat: change peer's piece type in resource ( #2012 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:25 +08:00
Gaius
c1066e60f4
feat: change ok to loaded in loading func ( #2010 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:25 +08:00
Gaius
1666a17827
feat: remove NetTopology from scheduler and manager ( #2007 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:25 +08:00
Gaius
c89234e976
feat: add manager v2 api ( #1990 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:23 +08:00
Gaius
d01a742b6f
feat: update fsm stable api ( #1938 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:18 +08:00
Gaius
ffa80c1eb9
refactor: dynconfig without Unmarshal ( #1926 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:18 +08:00
Gaius
473c5d33f7
feat: update priority api ( #1912 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:16 +08:00
Gaius
da40946f17
feat: storage collects upload piece count, peer cost and error details ( #1907 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:16 +08:00
Gaius
9cd2aa48c9
feat: priority of the register parameter is higher than parameter of the application ( #1906 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:16 +08:00
Gaius
d64a6d8e29
feat: trigger task with priority ( #1904 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:16 +08:00
Gaius
481df276a3
feat: dynconfig adds list application in scheduler ( #1903 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:15 +08:00
Gaius
e1b89dc6f0
feat: add health check to service ( #1889 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:14 +08:00
Gaius
8749814dee
feat: add the timeout of downloading piece to scheduler ( #1880 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:14 +08:00
Gaius
a9f10bd678
feat: remove MainParent from peer and add IsPieceBackToSource to piece
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:13 +08:00
Gaius
ef6ad12587
feat: add announcer to scheduler ( #1854 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:12 +08:00
Gaius
f194f0961f
feat: scheduler adds announce host handler ( #1843 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:11 +08:00
Gaius
0f8b75808a
feat: add timeout grpc and job ( #1830 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:10 +08:00
Gaius
42223d994f
feat: optimize peer log ( #1828 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:09 +08:00
Gaius
073c84dd71
feat: optimize peer gc ( #1819 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:08 +08:00
Gaius
83ec42cf25
feat: peer.UpdateAt needs to be updated during download process ( #1818 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:08 +08:00
Gaius
96910887b2
feat: statistical the traffic of reused peer ( #1816 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:08 +08:00