-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Internal Server Error when activating Cap'n Proto in routing receivers #7944
Comments
The error message you're encountering, "preferred segment is not part of the arena," suggests an issue with Cap'n Proto's message segmentation. This error can occur if there's an attempt to access or manipulate a segment that isn't part of the single segment arena used by Thanos for message construction [1]. Here are a few steps you can take to troubleshoot and potentially resolve this issue:
If these steps do not resolve the issue, further investigation into the specific implementation of Cap'n Proto in your setup might be necessary. |
@verejoel should we close this? |
Yes, should be fixed with 0.37.1 |
Thanos, Prometheus and Golang version used: 0.37.0
Object Storage Provider: Azure
What happened: Rolled out receivers and routing receivers with v0.37.0. The receivers are running with
--receive.capnproto-address=0.0.0.0:19391
.Then rolled out routing receivers with
--receive.replication-protocol=capnproto
. We immediately see that around 10% of remote-write requests to the routing receivers fail with internal server error, and the following log line:However, metrics seem to be shipped successfully. I didn't notice anything actually being dropped.
Our hashring is managed with the hashring controller, and has the following format:
What you expected to happen: No HTTP 500 errors or internal server error logs.
How to reproduce it (as minimally and precisely as possible): Upgrade routing receivers and receivers to 0.37.0, then enable capnproto in the routing receivers.
Full logs to relevant components: As above.
Anything else we need to know:
The text was updated successfully, but these errors were encountered: