Gaius
|
517aed732e
|
feat: optimize GetTaskJob and DeleteTaskJob (#3434)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2024-08-16 16:31:53 +08:00 |
Asklv
|
5547307445
|
feat: add delete task and list tasks manager api with request type and service type. (#3378)
Signed-off-by: Asklv <boironic@gmail.com>
|
2024-08-13 11:01:01 +08:00 |
Gaius
|
1ce0b3175c
|
feat: if host is seed client, set concurrentUploadLimit when dynconfig refreshes (#3320)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2024-06-13 15:11:27 +08:00 |
Gaius
|
afc54df6b3
|
feat: optimize graph based on sync.Map (#3152)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2024-03-28 18:04:23 +08:00 |
Gaius
|
5b52296ace
|
feat: change peer count limit for task (#3107)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2024-03-08 17:09:51 +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
|
dce1890aa0
|
feat: change state set when trigger seed peer (#3003)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2024-01-09 10:33:23 +08:00 |
Gaius
|
8e839e4749
|
feat: change DefaultSchedulerFilterParentLimit to 15 (#2932)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-12-08 16:06:41 +08:00 |
Gaius
|
51596b645b
|
fix: Vertex.DeleteInEdges and Vertex.DeleteOutEdges functions are not thread safe (#2688)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-08-30 16:48:07 +08:00 |
Gaius
|
77c91cb1e5
|
feat: add lock to dag vertex and replace rand.Seed with rand.New (#2614)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-08-09 14:53:47 +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
|
58034e4b1f
|
refactor: scheduling with v2 grpc (#2104)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:34:32 +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
|
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
|
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
|
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
|
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
|
d01a742b6f
|
feat: update fsm stable api (#1938)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:34:18 +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
|
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
|
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
|
42223d994f
|
feat: optimize peer log (#1828)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:34:09 +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
|
9014c21bec
|
refactor: scheduler registers task (#1766)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:34:04 +08:00 |
Gaius
|
481f685214
|
feat: available peer includes state is PeerStatePending (#1756)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:34:03 +08:00 |
Gaius
|
bbd418542e
|
feat: task state is TaskStateRunning can be registered (#1751)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:34:02 +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
|
04dabff01e
|
fix: content length is zero when task succeed (#1732)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:34:00 +08:00 |
Gaius
|
327cf4493e
|
feat: add TaskStateLeave to task (#1728)
Signed-off-by: Gaius <gaius.qi@gmail.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:34:00 +08:00 |
Jim Ma
|
73de99353d
|
feat: empty file e2e (#1687)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
Co-authored-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:33:56 +08:00 |
Gaius
|
a1a4dcdc5a
|
fix: task CanBackToSource func (#1663)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:33:54 +08:00 |
Gaius
|
d79f6405ff
|
feat: replace grpc package with https://github.com/dragonflyoss/api (#1515)
Signed-off-by: Gaius <gaius.qi@gmail.com>
Co-authored-by: Jim Ma <majinjing3@gmail.com>
|
2023-06-28 17:33:41 +08:00 |
Gaius
|
7c2ee7858b
|
refactor: set and dag with generics (#1490)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:33:39 +08:00 |
Gaius
|
46deb4fccf
|
Use dag to represent peer scheduling topology (#1473)
* feat: use dag to represent peer scheduling topology
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:33:37 +08:00 |
Gaius
|
8cf344992f
|
feat: if peer back-to-source failed, return source metadata. (#1444)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:33:34 +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
|
64f5e9357b
|
refactor: scheduler announce task (#1407)
* feat: scheduler announce normal task
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: remove cid
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:33:30 +08:00 |
Gaius
|
3fa7c7be75
|
feat: scheduler handles seed peer failed (#1325)
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:33:21 +08:00 |
Gaius
|
2a0314e45b
|
refactor: scheduler grpc (#1310)
* refactor: scheduler grpc
Signed-off-by: Gaius <gaius.qi@gmail.com>
* feat: generate protoc
Signed-off-by: Gaius <gaius.qi@gmail.com>
|
2023-06-28 17:33:20 +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 |