Skip to content

Commit

Permalink
Revert "feat: interleaved weighted round-robin load balance (#2405)" (#…
Browse files Browse the repository at this point in the history
…2604)

This reverts commit 19d1da0.
  • Loading branch information
justxuewei authored Mar 4, 2024
1 parent 52c8103 commit ae70398
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 359 deletions.
19 changes: 0 additions & 19 deletions cluster/loadbalance/interleavedweightedroundrobin/doc.go

This file was deleted.

130 changes: 0 additions & 130 deletions cluster/loadbalance/interleavedweightedroundrobin/iwrr.go

This file was deleted.

50 changes: 0 additions & 50 deletions cluster/loadbalance/interleavedweightedroundrobin/loadbalance.go

This file was deleted.

This file was deleted.

80 changes: 0 additions & 80 deletions cluster/loadbalance/loadbalance_benchmarks_test.go

This file was deleted.

13 changes: 6 additions & 7 deletions common/constant/loadbalance.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@
package constant

const (
LoadBalanceKeyConsistentHashing = "consistenthashing"
LoadBalanceKeyLeastActive = "leastactive"
LoadBalanceKeyRandom = "random"
LoadBalanceKeyRoundRobin = "roundrobin"
LoadBalanceKeyP2C = "p2c"
LoadXDSRingHash = "xdsringhash"
LoadBalanceKeyInterleavedWeightedRoundRobin = "interleavedweightedroundrobin"
LoadBalanceKeyConsistentHashing = "consistenthashing"
LoadBalanceKeyLeastActive = "leastactive"
LoadBalanceKeyRandom = "random"
LoadBalanceKeyRoundRobin = "roundrobin"
LoadBalanceKeyP2C = "p2c"
LoadXDSRingHash = "xdsringhash"
)

0 comments on commit ae70398

Please sign in to comment.