Skip to content

"non-root current context found" for S3.GetObject #8615

@michaeljohnalbers

Description

@michaeljohnalbers

Describe the bug

This is a follow-on to #8415.

After using the 1.27 SNAPSHOT recommended in that ticket, I got some Jetty spans back, but nowhere near the expected number. I re-enabled the ContextPropagationDebug logging and saw a ton of

Unexpected non-root current context found when extracting remote context!

In the "It contains this span:" message, the span information appears to always be for the name s3.GetObject. Our code never calls GetObject directly. We're using the S3TransferManager.

Also I'm not seeing any "a context leak was detected" messages.

Steps to reproduce

Unknown. Just running our application causes this to happen. This only happens for us on production, and creating a minimum reproduction is not really feasible. I know that doesn't help and I'm sorry for that.

What did you expect to see?
No "unexpected non-root..." messages and no missing Jetty spans.

What did you see instead?
See above.

What version are you using?
1.27.0 SNAPSHOT from around 2023-05-24

Environment
Compiler: OpenJDK 11 (from Circle CI docker image cimg/openjdk:11.0)
OS: Ubuntu 22.04
Runtime (if different from JDK above): GraalVM 22.3.1/JDK 17
OS (if different from OS compiled on): Ubunut 22.10

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions