-
Notifications
You must be signed in to change notification settings - Fork 527
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
Replace internal thanos fork with latest thanos #3205
Conversation
3a250ad
to
afdb2e0
Compare
@jesusvazquez I moved this PR to draft because I want to get #2682 in first. @bboreham will try to rebase it soon. If there's any issue, we'll ask you if you could give an hand. |
@jesusvazquez We merged #2682. Is there anything else we want to get from this PR? If so, could you rebase it, please? |
Due to the out-of-order implementation and Mimir's dependency with Thanos's code, we had to fork thanos due to an interface change in the TSDB. Since out-of-order has been upstreamed to Prometheus and Thanos has already updated its dependency, we can now get rid of our internal fork usage. Please note that Thanos has extracted its objstore implementation to its own repository so we had to update a few references throughout the codebase. Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
Also replace PrometheusIssue5372Err with OutOfOrderLabelsErr due to thanos-io/thanos#5508 Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
Also replace CAS with CompareAndSwap
Signed-off-by: Jesus Vazquez <jesus.vazquez@grafana.com>
0f5983c
to
16282ec
Compare
@pracucci Yes this PR removes the need of the grafana thanos fork. I just rebased and made sure CI was 🆗 Please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @jesusvazquez ! I reviewed the Mimir changes and Thanos one. I can't see any issue, so 👍
Due to the out-of-order implementation and Mimir's dependency with Thanos's code, we had to fork thanos due to an interface change in the TSDB.
Since out-of-order has been upstreamed to Prometheus and Thanos has already updated its dependency, we can now get rid of our internal fork usage.
Please note that Thanos has extracted its objstore implementation to its own repository so we had to update a few references throughout the codebase.
Note: Before merge we need grafana/e2e#5 merged and update e2e commit dependency.