aboutsummaryrefslogtreecommitdiffstats
path: root/yt
diff options
context:
space:
mode:
authorlukyan <lukyan@yandex-team.com>2024-07-13 20:06:26 +0300
committerlukyan <lukyan@yandex-team.com>2024-07-13 20:21:22 +0300
commit87dedb280d7f2cafc4e75dd63d0759f4352531b9 (patch)
tree0a9b1cbbc8586243a5f57ac54328ed619995d587 /yt
parentb2f8390ca4db821f0f448fbeac528cb84a2a6d1b (diff)
downloadydb-87dedb280d7f2cafc4e75dd63d0759f4352531b9.tar.gz
Fix propagating storage logging
f9e8df8933378f5bf9bf75daa3347d54797a3dd8
Diffstat (limited to 'yt')
-rw-r--r--yt/yt/core/tracing/trace_context.cpp2
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 e9927c8dcc..69305aa130 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);
}