-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Jaeger all-in-one complaints about missing parent spans #2719
Labels
Comments
bobrik
added a commit
to bobrik/jaeger
that referenced
this issue
Jan 8, 2021
Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself.
bobrik
added a commit
to bobrik/jaeger
that referenced
this issue
Jan 8, 2021
Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself. Signed-off-by: Ivan Babrou <github@ivan.computer>
yurishkuro
added
help wanted
Features that maintainers are willing to accept but do not have cycles to implement
and removed
needs-triage
labels
Jan 8, 2021
good catch, the memory storage should return cloned data so that the caller is free to do whatever with it, similar to how remote storage backends work |
bobrik
added a commit
to bobrik/jaeger
that referenced
this issue
Jan 8, 2021
Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself. Signed-off-by: Ivan Babrou <github@ivan.computer>
bobrik
added a commit
to bobrik/jaeger
that referenced
this issue
Jan 9, 2021
Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself. Signed-off-by: Ivan Babrou <github@ivan.computer>
yurishkuro
pushed a commit
that referenced
this issue
Jan 9, 2021
…usters (#2720) * Copy spans from memory store, fixes #2719 Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself. Signed-off-by: Ivan Babrou <github@ivan.computer> * Add tests to exercise the broken serialization path Signed-off-by: Ivan Babrou <github@ivan.computer>
bhiravabhatla
pushed a commit
to bhiravabhatla/jaeger
that referenced
this issue
Jan 25, 2021
…usters (jaegertracing#2720) * Copy spans from memory store, fixes jaegertracing#2719 Copying allows spans to be freely modified by adjusters and any other code without accidentally altering what is stored in the in-memory store itself. Signed-off-by: Ivan Babrou <github@ivan.computer> * Add tests to exercise the broken serialization path Signed-off-by: Ivan Babrou <github@ivan.computer>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
I have an issue when jaeger-all-in-one incorrectly complains about missing parent spans:
Here's an example:
The error says "invalid parent span IDs=ce8562a5c9781762", but
ce8562a5c9781762
is right there in the JSON.To Reproduce
Steps to reproduce the behavior:
Expected behavior
No complaints about a missing parent when parent is not in fact missing.
Screenshots
The screenshot corresponds to the first JSON snippet in this issue:
Version (please complete the following information):
Additional context
The reason this happens seems to be because
ClockSkew
adjuster runs on real in-memory spans from memory storage engine, as opposed to copies of those spans. So if you happen to request the trace while it's not fully built and the parent is not yet flushed, you'll get a warning for every load. Those warnings are never cleared.It's possible to get multiple warnings too:
The text was updated successfully, but these errors were encountered: