Closed ZijieSong closed 2 months ago
The updates across multiple pom.xml
files reflect a minor version increment from 3.1.6
to 3.1.7
for the parent artifact tracer-all-parent
. This change is consistent across various plugins and projects, indicating potential enhancements or bug fixes in the parent project. Additionally, a modification was made to the doFinally
method in the FunctionalAsyncSupport.java
file to improve logging functionality.
Files | Change Summary |
---|---|
pom.xml , sofa-tracer-plugins/.../pom.xml , tracer-all/pom.xml , tracer-core/pom.xml , tracer-extensions/pom.xml , tracer-sofa-boot-starter/pom.xml , tracer-test/core-test/pom.xml , tracer-test/log4j-test/pom.xml , tracer-test/log4j2-test/pom.xml , tracer-test/logback-test/pom.xml |
Updated version from 3.1.6 to 3.1.7 for the parent artifact. |
tracer-core/src/main/java/com/alipay/common/tracer/core/async/FunctionalAsyncSupport.java |
Modified doFinally method to log stopped spans. |
sequenceDiagram
participant Thread
participant TraceContext
participant SpanExtensionFactory
Thread->>TraceContext: Check current thread ID
alt Thread ID matches
TraceContext->>Thread: Continue processing
else Thread ID does not match
TraceContext->>Thread: Pop current span
TraceContext->>SpanExtensionFactory: Log stopped span
end
π° In the meadow where changes bloom,
A hop and a skip, dispelling gloom.
Versions rise like the sun so bright,
Enhancements dance in the morning light.
With logs that sing and spans that cheer,
A joyful update, letβs all revere! πΌ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Motivation:
SofaTracerRunnable do not clean up the MDC upon exit, causing an MDC leakage.
Modification:
Clean up MDC context upon exit
Summary by CodeRabbit
3.1.7
, indicating potential new features and improvements.