diff options
| -rw-r--r-- | yt/yt/core/tracing/trace_context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/yt/core/tracing/trace_context.cpp b/yt/yt/core/tracing/trace_context.cpp index e9927c8dccd..69305aa130c 100644 --- a/yt/yt/core/tracing/trace_context.cpp +++ b/yt/yt/core/tracing/trace_context.cpp @@ -126,7 +126,7 @@ void SetCurrentTraceContext(TTraceContext* context) TTraceContextPtr SwapTraceContext(TTraceContextPtr newContext, TSourceLocation loc) { - if (NConcurrency::NDetail::PerThreadFls() && newContext) { + if (NConcurrency::NDetail::PerThreadFls() == NConcurrency::NDetail::CurrentFls() && newContext) { YT_LOG_TRACE("Writing propagating storage in thread FLS (Location: %v)", loc); } |
