Gaius
76cf35fd5d
feat: add scope for preheating job ( #3497 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-14 14:20:09 +08:00
Chongzhi Deng
dc13a7cbd6
feat: delete the host after host leave peers during host manager gc ( #3361 )
...
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-07-08 12:37:38 +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
dfde8bdce6
feat: add sync peer job for scheduler ( #2663 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-08-22 19:58:27 +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
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
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
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
7e24a85efa
feat: add calculateParentHostUploadSuccessScore to scheduler ( #1789 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:06 +08:00
Gaius
500f767073
feat: remove task and host gc ttl ( #1735 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:01 +08:00
Gaius
a2511cb945
feat: rewrite interface{} to any ( #1419 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:32 +08:00
Gaius
9c1e05983a
feat: scheduler add seed peer ( #1298 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:18 +08:00
Gaius
8724f49e07
fix: scheduler typo ( #1297 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:18 +08:00
Gaius
ca8961ed09
refactor: scheduler task SizeScope ( #1287 )
...
* refactor: scheduler task SizeScope
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:17 +08:00
Gaius
c0c443a686
fix: calculate FreeUploadLoad ( #1226 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:11 +08:00
Gaius
8f19c11f54
feat: scheduler remove inactive host ( #1135 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:33:03 +08:00
Gaius
557425249c
feat: optimize peer range ( #1095 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:59 +08:00
Gaius
6d58de0ef1
refactor: scheduler grpc server ( #1046 )
...
* refactor: scheduler grpc server
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: generate mock file
Signed-off-by: Gaius <gaius.qi@gmail.com>
* test: scheduler package
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:55 +08:00
Gaius
02913a5442
feat: add scheduler host gc ( #989 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:51 +08:00
Gaius
97c1eb65e7
Refactor scheduler service ( #958 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:50 +08:00