From b1252f26e112e9632e5a3e11df536387282c0259 Mon Sep 17 00:00:00 2001 From: xiaoxmeng Date: Fri, 12 Apr 2024 01:06:30 -0700 Subject: [PATCH] Fix meta internal tsan build failure (#9464) Summary: Pull Request resolved: https://github.com/facebookincubator/velox/pull/9464 Reviewed By: kewang1024 Differential Revision: D56051631 Pulled By: xiaoxmeng fbshipit-source-id: 22ad72e67d091f098ca4a5280ec107a76c3d304b --- velox/exec/Spill.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/velox/exec/Spill.cpp b/velox/exec/Spill.cpp index e4a96b8f4a45..b13f1454ee83 100644 --- a/velox/exec/Spill.cpp +++ b/velox/exec/Spill.cpp @@ -306,8 +306,8 @@ tsan_atomic& testingSpillPct() { return spillPct; } -tsan_atomic& testingSpillPoolRegExp() { - static tsan_atomic spillPoolRegExp{".*"}; +std::string testingSpillPoolRegExp() { + static std::string spillPoolRegExp{".*"}; return spillPoolRegExp; } } // namespace