Commit 1bd32df
* Use a real ring with mock KV when testing distributor.
This is to teast out errors in the replication logic.
Signed-off-by: Tom Wilkie <[email protected]>
* Extend distributor test to cover the case RF=3 with 2 ingesters.
Signed-off-by: Tom Wilkie <[email protected]>
* Ensure ring correctly calculates the number of allowed failures when RF=3 and #ingesters=2.
Signed-off-by: Tom Wilkie <[email protected]>
* Add changelog and review feedback.
Signed-off-by: Tom Wilkie <[email protected]>
* Refactor some distributor tests to try and get them to pass.
Signed-off-by: Tom Wilkie <[email protected]>
* Speed up tests but polling more frequently.
Signed-off-by: Tom Wilkie <[email protected]>
* Fix same bug on the write path.
Signed-off-by: Tom Wilkie <[email protected]>
* Tidy up the distributor tests.
Signed-off-by: Tom Wilkie <[email protected]>
* Make test correctly handle RF3 and 2 ingesters - previously was succeeding when it shouldn't
Signed-off-by: Tom Wilkie <[email protected]>
* Update pkg/ring/ring.go
Co-Authored-By: Jacob Lisi <[email protected]>
Signed-off-by: Tom Wilkie <[email protected]>
Co-authored-by: Jacob Lisi <[email protected]>
Signed-off-by: Goutham Veeramachaneni <[email protected]>
Co-authored-by: Tom Wilkie <[email protected]>
Co-authored-by: Jacob Lisi <[email protected]>
1 parent b8efa9a commit 1bd32df
File tree
8 files changed
+271
-172
lines changed- pkg
- distributor
- ring
- kv/consul
- util/test
8 files changed
+271
-172
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| |||
0 commit comments