Commit 34d2849
committed
kvserver: pass ReplicationTarget for TransferLease
Previously, the replicate queue’s TransferLease used store IDs to represent the
source and target. This will change in upcoming mma work, which requires full
replication targets as arguments. This change also brings it in line with
RangeRebalancer.RelocateRange for consistency.
Epic: none
Release note: none1 parent b80df47 commit 34d2849
File tree
4 files changed
+31
-11
lines changed- pkg/kv/kvserver
- asim/storerebalancer
4 files changed
+31
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
| 812 | + | |
813 | 813 | | |
814 | 814 | | |
815 | 815 | | |
| |||
949 | 949 | | |
950 | 950 | | |
951 | 951 | | |
952 | | - | |
| 952 | + | |
953 | 953 | | |
954 | 954 | | |
955 | 955 | | |
| |||
960 | 960 | | |
961 | 961 | | |
962 | 962 | | |
963 | | - | |
| 963 | + | |
964 | 964 | | |
965 | 965 | | |
966 | | - | |
967 | | - | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
968 | 975 | | |
969 | 976 | | |
970 | 977 | | |
| |||
990 | 997 | | |
991 | 998 | | |
992 | 999 | | |
993 | | - | |
| 1000 | + | |
994 | 1001 | | |
995 | 1002 | | |
996 | 1003 | | |
| |||
1019 | 1026 | | |
1020 | 1027 | | |
1021 | 1028 | | |
1022 | | - | |
| 1029 | + | |
1023 | 1030 | | |
1024 | 1031 | | |
1025 | 1032 | | |
1026 | 1033 | | |
1027 | | - | |
| 1034 | + | |
1028 | 1035 | | |
1029 | 1036 | | |
1030 | 1037 | | |
1031 | | - | |
| 1038 | + | |
1032 | 1039 | | |
1033 | 1040 | | |
1034 | 1041 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
585 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
586 | 592 | | |
587 | 593 | | |
588 | 594 | | |
| |||
0 commit comments