Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
BaiXuePrincess
milvus
提交
590efe66
milvus
项目概览
BaiXuePrincess
/
milvus
与 Fork 源项目一致
从无法访问的项目Fork
通知
7
Star
4
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
milvus
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
590efe66
编写于
7月 15, 2019
作者:
S
starlord
浏览文件
操作
浏览文件
下载
差异文件
MS-234 Some case cause background merge thread stop
Former-commit-id: 3458b07f4ea8a877cc5ce9739bd5a74daecd1a21
上级
7d3c60e9
88c329e2
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
4 addition
and
11 deletion
+4
-11
ci/jenkinsfile/milvus_build.groovy
ci/jenkinsfile/milvus_build.groovy
+1
-2
ci/jenkinsfile/milvus_build_no_ut.groovy
ci/jenkinsfile/milvus_build_no_ut.groovy
+1
-2
cpp/CHANGELOG.md
cpp/CHANGELOG.md
+1
-0
cpp/src/db/DBImpl.cpp
cpp/src/db/DBImpl.cpp
+1
-7
未找到文件。
ci/jenkinsfile/milvus_build.groovy
浏览文件 @
590efe66
container
(
'milvus-build-env'
)
{
timeout
(
time:
2
0
,
unit:
'MINUTES'
)
{
timeout
(
time:
3
0
,
unit:
'MINUTES'
)
{
gitlabCommitStatus
(
name:
'Build Engine'
)
{
dir
(
"milvus_engine"
)
{
try
{
...
...
@@ -17,4 +17,3 @@ container('milvus-build-env') {
}
}
}
ci/jenkinsfile/milvus_build_no_ut.groovy
浏览文件 @
590efe66
container
(
'milvus-build-env'
)
{
timeout
(
time:
2
0
,
unit:
'MINUTES'
)
{
timeout
(
time:
3
0
,
unit:
'MINUTES'
)
{
gitlabCommitStatus
(
name:
'Build Engine'
)
{
dir
(
"milvus_engine"
)
{
try
{
...
...
@@ -17,4 +17,3 @@ container('milvus-build-env') {
}
}
}
cpp/CHANGELOG.md
浏览文件 @
590efe66
...
...
@@ -17,6 +17,7 @@ Please mark all change in change log and use the ticket from JIRA.
-
MS-232 - Add MySQLMetaImpl::UpdateTableFilesToIndex and set maximum_memory to default if config value = 0
-
MS-233 - Remove mem manager log
-
MS-230 - Change parameter name: Maximum_memory to insert_buffer_size
-
MS-234 - Some case cause background merge thread stop
## Improvement
-
MS-156 - Add unittest for merge result functions
...
...
cpp/src/db/DBImpl.cpp
浏览文件 @
590efe66
...
...
@@ -89,6 +89,7 @@ DBImpl::DBImpl(const Options& options)
meta_ptr_
=
DBMetaImplFactory
::
Build
(
options
.
meta
,
options
.
mode
);
mem_mgr_
=
MemManagerFactory
::
Build
(
meta_ptr_
,
options_
);
if
(
options
.
mode
!=
Options
::
MODE
::
READ_ONLY
)
{
ENGINE_LOG_INFO
<<
"StartTimerTasks"
;
StartTimerTasks
();
}
}
...
...
@@ -389,10 +390,6 @@ Status DBImpl::BackgroundMergeFiles(const std::string& table_id) {
}
void
DBImpl
::
BackgroundCompaction
(
std
::
set
<
std
::
string
>
table_ids
)
{
// static int b_count = 0;
// b_count++;
// std::cout << "BackgroundCompaction: " << b_count << std::endl;
Status
status
;
for
(
auto
&
table_id
:
table_ids
)
{
status
=
BackgroundMergeFiles
(
table_id
);
...
...
@@ -407,7 +404,6 @@ void DBImpl::BackgroundCompaction(std::set<std::string> table_ids) {
int
ttl
=
1
;
if
(
options_
.
mode
==
Options
::
MODE
::
CLUSTER
)
{
ttl
=
meta
::
D_SEC
;
// ENGINE_LOG_DEBUG << "Server mode is cluster. Clean up files with ttl = " << std::to_string(ttl) << "seconds.";
}
meta_ptr_
->
CleanUpFilesWithTTL
(
ttl
);
}
...
...
@@ -540,7 +536,6 @@ void DBImpl::BackgroundBuildIndex() {
meta_ptr_
->
FilesToIndex
(
to_index_files
);
Status
status
;
for
(
auto
&
file
:
to_index_files
)
{
/* ENGINE_LOG_DEBUG << "Buiding index for " << file.location; */
status
=
BuildIndex
(
file
);
if
(
!
status
.
ok
())
{
ENGINE_LOG_ERROR
<<
"Building index for "
<<
file
.
id_
<<
" failed: "
<<
status
.
ToString
();
...
...
@@ -551,7 +546,6 @@ void DBImpl::BackgroundBuildIndex() {
break
;
}
}
/* ENGINE_LOG_DEBUG << "All Buiding index Done"; */
}
Status
DBImpl
::
DropAll
()
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录