Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove Tracing workaround in Infinispan/JGroups classes #41629

@ahus1

Description

@ahus1

Description

As part of infinispan/infinispan#15287 ISPN now sets a tracing context as of ISPN 16, which is tentatively scheduled for KC27.

Due to that, the code in OpenTelemetrySpan should no longer call "makeCurrent"

// TODO: This is actually wrong if you are doing asynchronous calls, but it allows the JGroups calls to be nested
// This should be fixed in ISPN 16+ so that it is no longer needed
// https://github.com/infinispan/infinispan/issues/15287
this.scope = span.makeCurrent();

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions