-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add util/test package #31
Commits on Sep 2, 2021
-
Normalise the tokens in the external representation of the ring.
This should remove the repetition of the ingester ID - a ~25 character string, repeated 128 times (3kb) for each ingester, allocated every 5 seconds. For a 10 ingester cluster, thats 60KB/s of allocations (1/5s * 10 ingesters * 128 tokens * 10 ingester). Yes, its N^2. Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 74e91a7 - Browse repository at this point
Copy the full SHA 74e91a7View commit details -
Implement kv.Client based on memberlist library. (#1727)
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for b66a40f - Browse repository at this point
Copy the full SHA b66a40fView commit details -
Ensure queries return correctly during rolling upgrades of stateful c…
…luster with RF 3 and only 3 nodes. (#2503) * 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 <tom@grafana.com> * Extend distributor test to cover the case RF=3 with 2 ingesters. Signed-off-by: Tom Wilkie <tom@grafana.com> * Ensure ring correctly calculates the number of allowed failures when RF=3 and #ingesters=2. Signed-off-by: Tom Wilkie <tom@grafana.com> * Add changelog and review feedback. Signed-off-by: Tom Wilkie <tom@grafana.com> * Refactor some distributor tests to try and get them to pass. Signed-off-by: Tom Wilkie <tom@grafana.com> * Speed up tests but polling more frequently. Signed-off-by: Tom Wilkie <tom@grafana.com> * Fix same bug on the write path. Signed-off-by: Tom Wilkie <tom@grafana.com> * Tidy up the distributor tests. Signed-off-by: Tom Wilkie <tom@grafana.com> * Make test correctly handle RF3 and 2 ingesters - previously was succeeding when it shouldn't Signed-off-by: Tom Wilkie <tom@grafana.com> * Update pkg/ring/ring.go Co-Authored-By: Jacob Lisi <jacob.t.lisi@gmail.com> Signed-off-by: Tom Wilkie <tom@grafana.com> Co-authored-by: Jacob Lisi <jacob.t.lisi@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b26d9c9 - Browse repository at this point
Copy the full SHA b26d9c9View commit details -
Added benchmarks on blocks storage (#2658)
* Added benchmarks on blocks storage Signed-off-by: Marco Pracucci <marco@pracucci.com> * Moved ResetTimer() Signed-off-by: Marco Pracucci <marco@pracucci.com>
Configuration menu - View commit details
-
Copy full SHA for eae17d2 - Browse repository at this point
Copy the full SHA eae17d2View commit details -
Disable DNS resolution for testing. (#3464)
Signed-off-by: Peter Štibraný <peter.stibrany@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for 68e6f14 - Browse repository at this point
Copy the full SHA 68e6f14View commit details -
Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
Tyler Reid committedSep 2, 2021 Configuration menu - View commit details
-
Copy full SHA for 522c326 - Browse repository at this point
Copy the full SHA 522c326View commit details
Commits on Sep 7, 2021
-
Signed-off-by: Tyler Reid <tyler.reid@grafana.com>
Tyler Reid committedSep 7, 2021 Configuration menu - View commit details
-
Copy full SHA for 301d015 - Browse repository at this point
Copy the full SHA 301d015View commit details