Commit 0d150b9
committed
mmaprototype: add rebalanceReplicas method scaffolding with IIF wrapper
Wrap the replica rebalancing logic in an immediately invoked function
(IIF) and add a call to a new rebalanceReplicas method (currently a
no-op). This sets up both the call site and method signature, making it
straightforward to move the code into the method in the next step.1 parent b4bd06c commit 0d150b9
File tree
1 file changed
+13
-2
lines changed- pkg/kv/kvserver/allocator/mmaprototype
1 file changed
+13
-2
lines changedLines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
| 240 | + | |
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
| |||
437 | 438 | | |
438 | 439 | | |
439 | 440 | | |
440 | | - | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
441 | 452 | | |
442 | 453 | | |
443 | 454 | | |
| |||
0 commit comments