Skip to content

Commit

Permalink
*: Fix too long thread name make TSAN failed to run (#9044)
Browse files Browse the repository at this point in the history
close #9043
  • Loading branch information
JaySon-Huang authored May 15, 2024
1 parent de9f362 commit d1d990f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbms/src/Storages/KVStore/FFI/JointThreadAllocInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace DB
JointThreadInfoJeallocMap::JointThreadInfoJeallocMap()
{
monitoring_thread = new std::thread([&]() {
setThreadName("ThreadMemoryTracer");
setThreadName("ThdMemTrace");
while (true)
{
using namespace std::chrono_literals;
Expand Down Expand Up @@ -189,4 +189,4 @@ void JointThreadInfoJeallocMap::stopThreadAllocInfo()
}
}

} // namespace DB
} // namespace DB

0 comments on commit d1d990f

Please sign in to comment.