We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
process()
1 parent 802faf0 commit ce60ae8Copy full SHA for ce60ae8
hbase-server/src/main/java/org/apache/hadoop/hbase/executor/EventHandler.java
@@ -99,14 +99,14 @@ public void run() {
99
.setParent(Context.current().with(parent)).startSpan();
100
// assume that this is the top of an execution on a new or reused thread, that we're safe to
101
// blast any existing MDC state.
102
- MDC.clear();
103
- MDC.put("event_type", eventType.toString());
104
try (Scope scope = span.makeCurrent()) {
+ MDC.put("event_type", eventType.toString());
105
process();
106
} catch (Throwable t) {
107
handleException(t);
108
} finally {
109
span.end();
+ MDC.clear();
110
}
111
112
0 commit comments