Gaius
c95d835c6b
feat: if cdn is deleted, clear cdn related information ( #967 )
...
* feat: if cdn is deleted, clear cdn related information
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:49 +08:00
Eryu Guan
e893fe9359
fix: use 'parent' as mainPeer in PeerPacket in removePeerFromCurrentTree() ( #957 )
...
We've removed 'peer' from current tree, and ScheduleChildren() set
'parent' as parent of peers in 'children', so we should inform children
that 'parent' is the destination peer, not the removed 'peer'.
Fixes : #956
Signed-off-by: Eryu Guan <eguan@linux.alibaba.com>
2023-06-28 17:32:48 +08:00
Gaius
04a3550925
fix: scheduler success event ( #891 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:43 +08:00
Gaius
1a13ba11a8
feat: log ( #852 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:40 +08:00
sunwp
d79a2a6877
move RPC code definition to proto file ( #829 )
...
* move rpc code to proto
* replace Cdn to CDN
Signed-off-by: sunwp <244372610@qq.com>
2023-06-28 17:32:38 +08:00
Gaius
61f9f83b28
fix: manager typo and cdn peer id ( #809 )
...
* fix: manager typo and cdn peer id
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:36 +08:00
Gaius
f310425962
feat: replace sortedList with sortedUniqueList ( #793 )
...
* feat: replace sortedList with sortedUniqueList
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:35 +08:00
Jim Ma
3d63ab2ca3
chore: update golang import lint ( #780 )
...
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:32:34 +08:00
Gaius
90653d4fa2
feat: scheduler channel blocking ( #756 )
...
* fix: scheduler channel blocking
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:32 +08:00
Gaius
061e25c3e5
feat: preheat cluster ( #731 )
...
* feat: preheat cluster
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:30 +08:00
Gaius
ebb2e0da39
fix: peer empty parent ( #724 )
...
* fix: peer empty parent
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:32:30 +08:00
Gaius
b4e58e3c08
refactor: scheduler supervisor ( #655 )
...
* refactor: scheduler supervisor
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:31:49 +08:00
sunwp
376219a78b
feat: beautify scheduler & CDN log ( #618 )
...
* feat: beautify scheduler & CDN log
Signed-off-by: santong <244372610@qq.com>
2023-06-28 17:31:45 +08:00
sunwp
483c0b5220
feat: notice client back source when rescheduled parent reach max times ( #611 )
...
Signed-off-by: santong <244372610@qq.com>
2023-06-28 17:31:44 +08:00
sunwp
8583a4af3d
chore: optimize app and tracer log ( #607 )
...
Signed-off-by: santong <244372610@qq.com>
2023-06-28 17:31:44 +08:00
sunwp
60bee061d2
feat: client back source ( #579 )
...
* feat: client back source
Signed-off-by: santong <244372610@qq.com>
2023-06-28 17:31:43 +08:00
sunwp
2d8eb59005
Adjust package structure ( #539 )
...
* feat: package structure adjust
Signed-off-by: santong <weipeng.swp@alibaba-inc.com>
2023-06-28 17:31:36 +08:00
sunwp
1efd2f6cef
feat: Add distribute Schedule Tracer & Refactor scheduler ( #537 )
...
* check same cdn list avoid updating client too frequent
Signed-off-by: santong <weipeng.swp@alibaba-inc.com>
2023-06-28 17:31:35 +08:00
Jim Ma
300563bcca
Feature: support customize base image ( #519 )
...
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:31:33 +08:00
sunwp
4d49d77d5c
scheduler concurrent bug fix ( #513 )
...
Signed-off-by: santong <weipeng.swp@alibaba-inc.com>
2023-06-28 17:31:33 +08:00
sunwp
a15ce877c7
fix: scheduler concurrent dead lock ( #509 )
...
* fix scheduler concurrent dead lock
Signed-off-by: santong <weipeng.swp@alibaba-inc.com>
2023-06-28 17:31:33 +08:00
sunwp
a6a92e75d0
fix: scheduler pick candidate and associate child encounter dead lock ( #500 )
...
* fix dead lock
Signed-off-by: santong <weipeng.swp@alibaba-inc.com>
2023-06-28 17:30:30 +08:00
sunwp
6c8cf122f8
Rescheduler parent/children later when no candidates and add schedule log ( #497 )
...
Signed-off-by: santong <weipeng.swp@alibaba-inc.com>
2023-06-28 17:30:29 +08:00
sunwp
39ee24b0bf
feat: Extract peer event processing function ( #489 )
...
* feat: Extract peer event processing function
Signed-off-by: santong <weipeng.swp@alibaba-inc.com>
2023-06-28 17:30:29 +08:00
sunwp
7b8aaf6b31
Refactor scheduler ( #369 )
...
Signed-off-by: santong <weipeng.swp@alibaba-inc.com>
2023-06-28 17:30:29 +08:00