We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7b364 commit e18e7d3Copy full SHA for e18e7d3
internal/querycoordv2/balance/rowcount_based_balancer.go
@@ -433,7 +433,7 @@ func (b *nodeItem) setPriority(priority int) {
433
}
434
435
func (b *nodeItem) getPriorityWithCurrentScoreDelta(delta float64) int {
436
- return int((b.currentScore + delta) - b.assignedScore)
+ return int(math.Ceil((b.currentScore + delta) - b.assignedScore))
437
438
439
func (b *nodeItem) getCurrentScore() float64 {
0 commit comments