LavredisG
ff92a84a9e
Update group_clusters.go
...
Signed-off-by: LavredisG <lavredisgoume@gmail.com>
2024-11-20 00:34:29 +00:00
ipsum-0320
9e349e60a8
feat: implement calc group score for duplicate to assign replicas evenly
...
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
feat: implement calc group score for duplicate to assign replicas evenly
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
feat: calc group score for duplicate to assign replicas evenly
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-10-28 19:20:39 +08:00
ipsum-0320
aa8cbda942
feat: calc group score by weight
...
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
chore: update
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
re-test
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
feat: update basic score
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
chore: add comment
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
feat: calcGroupScoreForDivided
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
fix: lint error
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
chore: fix the comment
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
feat: resolve the comments
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
fix: lint error
Signed-off-by: ipsum-0320 <trueman.0320@zju.edu.cn>
2024-10-26 14:11:33 +08:00
mszacillo
01be91b9db
GroupClusters should sort by score and availableReplica count
...
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-07-08 17:14:19 -04:00
zhy76
adef1e5974
feat: add license and verify license for code file
...
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
whitewindmills
c8423cb237
fix spelling errors
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2023-09-04 10:22:39 +08:00
Tanggui Bian
10b5ff2036
Adopt zones in scheduler spread by constraints
...
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-08-26 16:34:20 +08:00
Poor12
dbcf60a696
log error when replicaDivisionPreference is Weighted and WeightPreference is nil
...
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-23 14:25:18 +08:00
changzhen
8b4eb7b310
fix bug of #2447 : when replicaDivisionPreference is Weighted and WeightPreference is nil
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-30 21:51:50 +08:00
yingjinhui
dafe30c649
fix test fail on arm64 mac `panic: permission denied`, removing gomonkey
...
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-05-16 20:07:40 +08:00
huone1
7f5809ce6e
support region spread constraint
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-04-26 11:16:48 +08:00
RainbowMango
501d586462
Introduce AssignedReplicasForCluster for ResourceBinding
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-04-22 11:49:18 +08:00
huone1
960b2f924d
[optimize]ensure that the selected clusters has sufficient available resources
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-04-20 15:16:57 +08:00
huone1
785ad5dc63
add the ut case for selecting cluster
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-24 16:03:59 +08:00
huone1
c69d0e0eda
refactor the selectclusters process
...
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-23 14:28:16 +08:00