Commit 652f11e
committed
kv: handle some additional cases where we need to signal ambiguous result
These ones slipped through the cracks. One is the case of a missing range
(because of rebalancing). We want to be careful not to say that the batch
failed with the no range error when in fact it may have succeeded. The
other is a re-proposal where submission to Raft fails. Again, since the
original proposal may have succeeded, we must be careful to also return
AmbiguousResultError where appropriate.1 parent e465692 commit 652f11e
2 files changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
177 | 187 | | |
178 | 188 | | |
179 | 189 | | |
| |||
1705 | 1715 | | |
1706 | 1716 | | |
1707 | 1717 | | |
1708 | | - | |
| 1718 | + | |
1709 | 1719 | | |
1710 | 1720 | | |
1711 | | - | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
1712 | 1724 | | |
1713 | 1725 | | |
1714 | 1726 | | |
| |||
2822 | 2834 | | |
2823 | 2835 | | |
2824 | 2836 | | |
2825 | | - | |
| 2837 | + | |
2826 | 2838 | | |
2827 | 2839 | | |
2828 | 2840 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2021 | 2021 | | |
2022 | 2022 | | |
2023 | 2023 | | |
2024 | | - | |
2025 | | - | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
2026 | 2027 | | |
2027 | 2028 | | |
2028 | 2029 | | |
| |||
0 commit comments