Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
2dot5
ClickHouse
提交
2846c756
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,发现更多精彩内容 >>
提交
2846c756
编写于
11月 15, 2017
作者:
A
Alexey Milovidov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fixed wording [#CLICKHOUSE-2].
上级
5b113df1
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
8 addition
and
8 deletion
+8
-8
dbms/src/Interpreters/ProcessList.h
dbms/src/Interpreters/ProcessList.h
+1
-1
dbms/src/Storages/MergeTree/PKCondition.cpp
dbms/src/Storages/MergeTree/PKCondition.cpp
+2
-2
dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
...Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
+1
-1
dbms/src/Storages/MergeTree/SimpleMergeSelector.cpp
dbms/src/Storages/MergeTree/SimpleMergeSelector.cpp
+1
-1
dbms/src/Storages/MergeTree/SimpleMergeSelector.h
dbms/src/Storages/MergeTree/SimpleMergeSelector.h
+2
-2
dbms/src/Storages/StorageBuffer.cpp
dbms/src/Storages/StorageBuffer.cpp
+1
-1
未找到文件。
dbms/src/Interpreters/ProcessList.h
浏览文件 @
2846c756
...
...
@@ -245,7 +245,7 @@ public:
using
EntryPtr
=
std
::
shared_ptr
<
ProcessListEntry
>
;
/** Register running query. Returns refcounted object, that will remove element from list in destructor.
* If too m
uch
running queries - wait for not more than specified (see settings) amount of time.
* If too m
any
running queries - wait for not more than specified (see settings) amount of time.
* If timeout is passed - throw an exception.
* Don't count KILL QUERY queries.
*/
...
...
dbms/src/Storages/MergeTree/PKCondition.cpp
浏览文件 @
2846c756
...
...
@@ -512,7 +512,7 @@ static void castValueToType(const DataTypePtr & desired_type, Field & src_value,
bool
PKCondition
::
atomFromAST
(
const
ASTPtr
&
node
,
const
Context
&
context
,
Block
&
block_with_constants
,
RPNElement
&
out
)
{
/** Functions < > = != <= >= in `notIn`, where one argument is a constant, and the other is one of columns of primary key,
* or itself, wrapped in a chain of possibly-monoton
e
functions,
* or itself, wrapped in a chain of possibly-monoton
ic
functions,
* or constant expression - number.
*/
Field
const_value
;
...
...
@@ -525,7 +525,7 @@ bool PKCondition::atomFromAST(const ASTPtr & node, const Context & context, Bloc
return
false
;
DataTypePtr
key_expr_type
;
/// Type of expression containing primary key column
size_t
key_arg_pos
;
/// Position of argument with primary key column (non-const argument)
size_t
key_arg_pos
;
/// Position of argument with primary key column (non-const argument)
size_t
key_column_num
;
/// Number of a primary key column (inside sort_descr array)
RPNElement
::
MonotonicFunctionsChain
chain
;
bool
is_set_const
=
false
;
...
...
dbms/src/Storages/MergeTree/ReplicatedMergeTreePartCheckThread.cpp
浏览文件 @
2846c756
...
...
@@ -192,7 +192,7 @@ void ReplicatedMergeTreePartCheckThread::searchForMissingPart(const String & par
size_t
part_length_in_blocks
=
part_info
.
max_block
+
1
-
part_info
.
min_block
;
if
(
part_length_in_blocks
>
1000
)
{
LOG_ERROR
(
log
,
"Won't add nonincrement_block_numbers because part spans too m
uch
blocks ("
<<
part_length_in_blocks
<<
")"
);
LOG_ERROR
(
log
,
"Won't add nonincrement_block_numbers because part spans too m
any
blocks ("
<<
part_length_in_blocks
<<
")"
);
return
;
}
...
...
dbms/src/Storages/MergeTree/SimpleMergeSelector.cpp
浏览文件 @
2846c756
...
...
@@ -148,7 +148,7 @@ void selectWithinPartition(
for
(
size_t
begin
=
0
;
begin
<
parts_count
;
++
begin
)
{
/// If too m
uch
parts, select only from first, to avoid complexity.
/// If too m
any
parts, select only from first, to avoid complexity.
if
(
begin
>
1000
)
break
;
...
...
dbms/src/Storages/MergeTree/SimpleMergeSelector.h
浏览文件 @
2846c756
...
...
@@ -29,8 +29,8 @@ public:
/** Base is lowered until 1 (effectively means "merge any two parts") depending on several variables:
*
* 1. Total number of parts in partition. If too m
uch
- then base is lowered.
* It means: when too m
uch
parts - do merges more urgently.
* 1. Total number of parts in partition. If too m
any
- then base is lowered.
* It means: when too m
any
parts - do merges more urgently.
*
* 2. Minimum age of parts participating in merge. If higher age - then base is lowered.
* It means: do less wide merges only rarely.
...
...
dbms/src/Storages/StorageBuffer.cpp
浏览文件 @
2846c756
...
...
@@ -474,7 +474,7 @@ void StorageBuffer::flushBuffer(Buffer & buffer, bool check_thresholds)
return
;
/** For simplicity, buffer is locked during write.
* We could unlock buffer temporary, but it would lead to too m
uch
difficulties:
* We could unlock buffer temporary, but it would lead to too m
any
difficulties:
* - data, that is written, will not be visible for SELECTs;
* - new data could be appended to buffer, and in case of exception, we must merge it with old data, that has not been written;
* - this could lead to infinite memory growth.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录