Gaius
87f9fcc536
feat: remove object storage and model message ( #2992 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-01-02 14:53:08 +08:00
Gaius
086cb62d01
feat: if seed peer download task, return NeedBackToSource directly ( #2980 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-26 20:11:45 +08:00
Gaius
5989a4d4d3
fix: peer events state failed when register task ( #2979 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-26 17:12:30 +08:00
Gaius
ab896daf2a
feat: if trigger peer is seed peer, set NeedBackToSource flag true ( #2972 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-26 11:01:25 +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
5894095151
feat: support logging the range and header when registering a task ( #2967 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-22 11:39:03 +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
76530ae000
feat: add prefetch to trigger seed peer downloads entire task ( #2929 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-07 20:02:28 +08:00
Gaius
81cfc72943
feat: optimize service v2 log print ( #2922 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-12-06 16:30:59 +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
64e9c0fd2a
feat: remove handleSyncPiecesFailedRequest when sync piece failed ( #2906 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-30 14:39:57 +08:00
Gaius
18c28a7364
fix: digest and range validation in v2 ( #2892 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-11-21 17:12:05 +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
6caf7246db
feat: use scheduler's cluster id in host resource ( #2844 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-31 13:57:51 +08:00
Gaius
6addfdf8f4
feat: change DownloadPeerDuration metric type to summary ( #2794 )
...
feat: change DownloadPeerDuration metric to Summary
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-11 19:25:49 +08:00
Gaius
82a5b7bf6d
feat: add content-length label to DownloadPeerDuration metric ( #2792 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-10-11 16:26:13 +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
Gaius
60080f2e98
fix: if network topology is nil, LeaveHost panic in scheduler ( #2727 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-09-14 21:26:22 +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
fe28ba4c8e
feat: merge sync peer with peer table in manager ( #2668 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-08-24 10:28:08 +08:00
Gaius
f3b92900af
feat: peer announces scheduler cluster id to scheduler ( #2652 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-08-21 22:00:05 +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
cede829140
feat: update api verison to v1.9.7 and compatible with tiny task response ( #2547 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-07-13 15:37:04 +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
701a26a8d6
feat: hide sensitive information in log ( #2369 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:51 +08:00
Gaius
71f13df1f0
feat: remove traffic_type in DownloadPeerDuration metric ( #2357 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:51 +08:00
Tianxi
f2130509d1
feat: add traffic type of peer task download duration ( #2349 )
...
Co-authored-by: li.tianxi <li.tianxi@hellogroup.com>
2023-06-28 17:34:51 +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
224b951e63
fix: stat DownloadPeerCount and DownloadPieceCount ( #2180 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:38 +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
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
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