Gaius
3f7e48e005
feat: when peer disabled shared, scheduler will skip peer in filterCandidateParents ( #3506 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-14 17:07:29 +08:00
Gaius
a35517cc9a
feat: remove unused context and update api version ( #3412 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-06 15:47:02 +08:00
Chongzhi Deng
8153e57ed1
feat: scheduler detects peer survivability and clears offline peers' metadata ( #3353 )
...
feat: scheduler detects peer survivability and clears offline peers
1. The Host GC method will remove hosts that did not announce in time and their peers' metadata.
2. The scheduler Host GC interval is lowered in order to detect non-surviving hosts in time.
3. Add unit tests.
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-07-04 13:46:35 +08:00
Gaius
a5488768d7
feat: add cache peer to grpc api ( #3334 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-18 18:11:16 +08:00
Gaius
a370304de1
feat: update api protoc version to v2.0.118 ( #3326 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-06-17 19:45:13 +08:00
Gaius
501a7be05b
feat: trigger download task by stream ( #3200 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-17 10:26:34 +08:00
Min
0f9c400038
feat: evalutorBase adds networktopology ( #3015 )
...
Signed-off-by: huangmin <2107139596@qq.com>
2024-01-29 17:28:32 +08:00
Gaius
5239a6db4b
feat: optimize scheduler default config ( #3050 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-25 12:34:39 +08:00
Gaius
0b1157bba8
feat: replace filters with filteredQueryParams ( #3049 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-24 22:58:06 +08:00
Gaius
e11666deb0
feat: change request header in response ( #3038 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-22 16:19:16 +08:00
Gaius
f82cc4f5f4
test: remove failed case in handleDownloadPeerStartedRequest ( #3017 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-11 20:17:05 +08:00
Gaius
93df8f01d8
feat: add block parent to peer if peer reschedule in downloading ( #3011 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 10:53:05 +08:00
Gaius
6586489210
feat: report bad parents and add bad parents to block parent set ( #3010 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-10 10:26:48 +08:00
Gaius
70dd9b109d
feat: remove maxScheduleCount and optimize register in v2 ( #3001 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-08 21:06:58 +08:00
Gaius
acdbc4b484
feat: remove register seed peer in announce peer ( #2971 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-25 19:29:44 +08:00
Gaius
6b93ef8e5e
feat: trigger download by task id ( #2970 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-25 17:37:12 +08:00
Gaius
0c591e46a3
feat: optimize trigger download task return empty ( #2958 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 18:41:32 +08:00
Gaius
ec66fd1229
feat: implement trigger download task by seed peer in v2 ( #2957 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 16:18:02 +08:00
Gaius
003376c6d3
feat: optimize parameters in seed peer DownloadTask ( #2947 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-19 11:37:00 +08:00
Gaius
cfcfbc3c39
feat: optimize AnnouncePeer log and update api verison ( #2921 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-06 10:26:27 +08:00
Gaius
11829e35df
feat: update api version to v2.0.56 ( #2891 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-21 14:02:24 +08:00
Gaius
79b4aabc40
feat: optimize piece download failed handler ( #2883 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-14 22:40:51 +08:00
Gaius
4d4ea8dda9
feat: add reschedule handler for schduler v2 ( #2882 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-14 22:20:02 +08:00
Gaius
86ce09f53a
feat: remove TinyTaskResponse and SmallTaskResponse message ( #2881 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-14 15:07:24 +08:00
Gaius
5f4fe5753a
feat: implement ListSeedPeers feature in manager ( #2865 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-08 20:45:03 +08:00
Gaius
12fc630612
fix: if scheduler has no seed peer, return error in preheating ( #2835 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-30 16:45:39 +08:00
Gaius
b65c1019ed
feat: update api to v2.0.29 with optional ( #2751 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-09-22 14:19:16 +08:00
dlut_xz
1a652e6594
feat: add InitProbedCount in AnnounceHost and DeleteHost in LeaveHost ( #2722 )
...
Signed-off-by: fcgxz2003 <834756128@qq.com>
2023-09-14 21:20:34 +08:00
Gaius
a5b0f7404d
feat: download tiny file with https scheme ( #2617 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-08-10 16:29:28 +08:00
Gaius
778b90c718
feat: add optional to build information ( #2567 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-07-25 15:15:40 +08:00
Gaius
bd3d76a97c
feat: update api version to 2.0.8 ( #2566 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-07-25 13:45:54 +08:00
Gaius
b3f23f71a3
feat: update dy7.io/api to v2 ( #2558 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-07-20 23:17:57 +08:00
Gaius
1da355018b
feat: implement FindProbedHosts and add LoadRandomHosts to host manager ( #2519 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: XZ <834756128@qq.com>
Co-authored-by: dlut_xz <52518280+fcgxz2003@users.noreply.github.com>
2023-07-06 10:56:52 +08:00
Gaius
5342fb97fc
fix: Interval in SyncProbesResponse ( #2466 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:58 +08:00
Gaius
98aee9640d
feat: implement SyncProbes api in scheduler grpc service ( #2449 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: XZ <834756128@qq.com>
Co-authored-by: dlut_xz <52518280+fcgxz2003@users.noreply.github.com>
2023-06-28 17:34:58 +08:00
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
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
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
ff63681e88
feat: add handleRegisterSeedPeerRequest to service v2 in scheduler ( #2148 )
...
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
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
7306aec508
feat: correct grpc error code and implement StatPeer and LeavePeer ( #2115 )
...
Correct grpc error from codes.Unknow to codes.Internal in gorm
operation. Implement StatPeer and LeavePeer interface in v2 version of
grpc.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:34 +08:00
Gaius
dacf1f01a6
feat: rename scheduler package to scheduling ( #2087 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:31 +08:00
Gaius
e83fb85216
feat: add v2 verison of the grpc to scheduler ( #1999 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:24 +08:00