Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2dot5
ClickHouse
提交
0861af12
C
ClickHouse
项目概览
2dot5
/
ClickHouse
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
C
ClickHouse
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
0861af12
编写于
2月 11, 2019
作者:
A
Alexey Milovidov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixed thread names
上级
a1754f76
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
4 addition
and
8 deletion
+4
-8
dbms/programs/server/MetricsTransmitter.cpp
dbms/programs/server/MetricsTransmitter.cpp
+1
-1
dbms/src/DataStreams/AsynchronousBlockInputStream.cpp
dbms/src/DataStreams/AsynchronousBlockInputStream.cpp
+1
-0
dbms/src/DataStreams/AsynchronousBlockInputStream.h
dbms/src/DataStreams/AsynchronousBlockInputStream.h
+0
-1
dbms/src/DataStreams/PushingToViewsBlockOutputStream.cpp
dbms/src/DataStreams/PushingToViewsBlockOutputStream.cpp
+1
-1
dbms/src/Interpreters/Context.cpp
dbms/src/Interpreters/Context.cpp
+1
-1
dbms/src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp
...c/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp
+0
-1
dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
...Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
+0
-1
dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
...torages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
+0
-1
dbms/src/Storages/StorageReplicatedMergeTree.cpp
dbms/src/Storages/StorageReplicatedMergeTree.cpp
+0
-1
未找到文件。
dbms/programs/server/MetricsTransmitter.cpp
浏览文件 @
0861af12
...
...
@@ -41,7 +41,7 @@ void MetricsTransmitter::run()
const
auto
&
config
=
context
.
getConfigRef
();
auto
interval
=
config
.
getInt
(
config_name
+
".interval"
,
60
);
const
std
::
string
thread_name
=
"MericsT
rns
"
+
std
::
to_string
(
interval
)
+
"s"
;
const
std
::
string
thread_name
=
"MericsT
x
"
+
std
::
to_string
(
interval
)
+
"s"
;
setThreadName
(
thread_name
.
c_str
());
const
auto
get_next_time
=
[](
size_t
seconds
)
...
...
dbms/src/DataStreams/AsynchronousBlockInputStream.cpp
浏览文件 @
0861af12
#include "AsynchronousBlockInputStream.h"
#include <Common/setThreadName.h>
#include <Common/CurrentThread.h>
...
...
dbms/src/DataStreams/AsynchronousBlockInputStream.h
浏览文件 @
0861af12
...
...
@@ -3,7 +3,6 @@
#include <Poco/Event.h>
#include <DataStreams/IBlockInputStream.h>
#include <Common/setThreadName.h>
#include <Common/CurrentMetrics.h>
#include <Common/ThreadPool.h>
#include <Common/MemoryTracker.h>
...
...
dbms/src/DataStreams/PushingToViewsBlockOutputStream.cpp
浏览文件 @
0861af12
...
...
@@ -90,7 +90,7 @@ void PushingToViewsBlockOutputStream::write(const Block & block)
auto
thread_group
=
CurrentThread
::
getGroup
();
pool
.
schedule
([
=
]
{
setThreadName
(
"PushingToViews
BlockOutputStream
"
);
setThreadName
(
"PushingToViews"
);
if
(
thread_group
)
CurrentThread
::
attachToIfDetached
(
thread_group
);
process
(
block
,
view_num
);
...
...
dbms/src/Interpreters/Context.cpp
浏览文件 @
0861af12
...
...
@@ -1867,7 +1867,7 @@ SessionCleaner::~SessionCleaner()
void
SessionCleaner
::
run
()
{
setThreadName
(
"
HTTP
SessionCleaner"
);
setThreadName
(
"SessionCleaner"
);
std
::
unique_lock
lock
{
mutex
};
...
...
dbms/src/Storages/MergeTree/ReplicatedMergeTreeCleanupThread.cpp
浏览文件 @
0861af12
#include <Storages/MergeTree/ReplicatedMergeTreeCleanupThread.h>
#include <Storages/StorageReplicatedMergeTree.h>
#include <Common/setThreadName.h>
#include <Poco/Timestamp.h>
#include <random>
...
...
dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
浏览文件 @
0861af12
...
...
@@ -2,7 +2,6 @@
#include <Storages/MergeTree/checkDataPart.h>
#include <Storages/MergeTree/ReplicatedMergeTreePartHeader.h>
#include <Storages/StorageReplicatedMergeTree.h>
#include <Common/setThreadName.h>
namespace
ProfileEvents
...
...
dbms/src/Storages/MergeTree/ReplicatedMergeTreeRestartingThread.cpp
浏览文件 @
0861af12
...
...
@@ -3,7 +3,6 @@
#include <Storages/MergeTree/ReplicatedMergeTreeRestartingThread.h>
#include <Storages/MergeTree/ReplicatedMergeTreeQuorumEntry.h>
#include <Storages/MergeTree/ReplicatedMergeTreeAddress.h>
#include <Common/setThreadName.h>
#include <Common/ZooKeeper/KeeperException.h>
#include <Common/randomSeed.h>
...
...
dbms/src/Storages/StorageReplicatedMergeTree.cpp
浏览文件 @
0861af12
...
...
@@ -38,7 +38,6 @@
#include <Common/Macros.h>
#include <Storages/VirtualColumnUtils.h>
#include <Common/formatReadable.h>
#include <Common/setThreadName.h>
#include <Common/escapeForFileName.h>
#include <Common/StringUtils/StringUtils.h>
#include <Common/typeid_cast.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录