-
Notifications
You must be signed in to change notification settings - Fork 521
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
Complete writing a batch even if some spans refused #1957
Comments
@joe-elliott can I pick this up ? |
Absolutely! The team is going to be pretty barebones for the next 2 weeks due to the holidays so if you don't get an immediate review don't worry. I promise I will get to all PRs when I get back. Thanks for giving it a shot. |
@joe-elliott 1 small implementation doubt. Since this is now a bulk operation how should the ingester convey back the traces which failed ? |
Hi @97amarnathk!
The error in non-retryable, so we're good returning a list of the traces that failed (i.e. similar to what we already do, but for multiple traces). I don't think we need a more comprehensive approach than that. |
Got it. Do go through it whenever possible |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
keepalive |
This issue has been automatically marked as stale because it has not had any activity in the past 60 days. |
Describe the bug
Currently if an ingester refuses traces b/c a trace is too large it will stop writing the current batch and return an error. The end result is that the first part of the batch was written but everything after the "trace too large" error is dropped. Let's continue writing the batch even if we receive a trace too large error.
Loop to write traces:
tempo/modules/ingester/instance.go
Line 167 in 909b487
Trace too large returned here:
tempo/modules/ingester/instance.go
Line 210 in 909b487
The text was updated successfully, but these errors were encountered: