Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
clmforever
oceanbase
提交
aba75032
O
oceanbase
项目概览
clmforever
/
oceanbase
与 Fork 源项目一致
Fork自
oceanbase / oceanbase
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
oceanbase
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
aba75032
编写于
3月 25, 2022
作者:
K
kq0
提交者:
LINGuanRen
3月 25, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix print log core
上级
85caf5ef
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
15 addition
and
10 deletion
+15
-10
src/clog/ob_clog_history_reporter.cpp
src/clog/ob_clog_history_reporter.cpp
+15
-10
未找到文件。
src/clog/ob_clog_history_reporter.cpp
浏览文件 @
aba75032
...
...
@@ -317,8 +317,6 @@ void ObClogHistoryReporter::handle(void* task)
int
tmp_ret
=
OB_SUCCESS
;
if
(
OB_SUCCESS
!=
(
tmp_ret
=
insert_task_head_
(
partition_task
)))
{
CLOG_LOG
(
WARN
,
"insert task head fail"
,
K
(
tmp_ret
),
KPC
(
partition_task
));
}
else
{
CLOG_LOG
(
INFO
,
"exec partition task fail, insert task head succ"
,
K
(
tmp_ret
),
KPC
(
partition_task
));
}
}
else
{
CLOG_LOG
(
INFO
,
"exec partition task succ"
,
KR
(
ret
),
KPC
(
partition_task
));
...
...
@@ -813,14 +811,18 @@ int ObClogHistoryReporter::insert_task_tail_(const common::ObPartitionKey& pkey,
}
else
{
CLOG_LOG
(
WARN
,
"task_map_ insert task fail"
,
KR
(
ret
),
K
(
task
));
}
}
else
{
CLOG_DEBUG
(
"task_map_ insert task succ"
,
KR
(
ret
),
K
(
task
));
}
}
else
{
CLOG_LOG
(
WARN
,
"task_map_ apply InsertTaskTailFunctor fail"
,
KR
(
ret
),
KPC
(
op
));
}
}
else
{
CLOG_DEBUG
(
"task_map_ insert op succ"
,
KR
(
ret
),
KPC
(
op
));
CLOG_DEBUG
(
"task_map_ insert op succ"
,
KR
(
ret
),
K
(
pkey
),
K
(
start_log_id
),
K
(
start_log_timestamp
),
K
(
end_log_id
),
K
(
end_log_timestamp
));
}
if
(
OB_ENTRY_EXIST
==
ret
)
{
...
...
@@ -831,7 +833,13 @@ int ObClogHistoryReporter::insert_task_tail_(const common::ObPartitionKey& pkey,
}
if
(
OB_SUCC
(
ret
))
{
ISTAT
(
"task_map_ insert task tail succ"
,
KR
(
ret
),
KPC
(
op
));
ISTAT
(
"task_map_ insert task tail succ"
,
KR
(
ret
),
K
(
pkey
),
K
(
start_log_id
),
K
(
start_log_timestamp
),
K
(
end_log_id
),
K
(
end_log_timestamp
));
}
else
{
CLOG_LOG
(
WARN
,
"task_map insert task tail fail"
,
KR
(
ret
),
KPC
(
op
));
if
(
OB_FAIL
(
free_partition_op_
(
op
)))
{
...
...
@@ -871,8 +879,6 @@ int ObClogHistoryReporter::insert_task_head_(PartitionQueueTask* partition_task)
}
else
{
CLOG_LOG
(
WARN
,
"task_map_ insert task fail"
,
KR
(
ret
),
K
(
task
));
}
}
else
{
CLOG_DEBUG
(
"task_map_ insert task succ"
,
KR
(
ret
),
K
(
task
));
}
}
else
{
CLOG_LOG
(
WARN
,
"task_map_ apply InsertTaskHeadFunctor fail"
,
KR
(
ret
),
KPC
(
partition_task
));
...
...
@@ -892,7 +898,6 @@ int ObClogHistoryReporter::insert_task_head_(PartitionQueueTask* partition_task)
// reset partition_task, ensure that the memory of PartitionQueueTask is released subsequently, and the memory of op
// will not be released
partition_task
->
reset
();
ISTAT
(
"task_map_ insert task head succ"
,
KR
(
ret
),
KPC
(
partition_task
));
}
else
{
CLOG_LOG
(
WARN
,
"task_map insert task head fail"
,
KR
(
ret
),
KPC
(
partition_task
));
}
...
...
@@ -951,7 +956,7 @@ int ObClogHistoryReporter::push_task_()
}
else
{
// push work queue succ, partition_task_count_ increased by 1
ATOMIC_INC
(
&
partition_task_count_
);
ISTAT
(
"push partition task into work queue"
,
KR
(
ret
),
K
(
partition_task_count_
)
,
KPC
(
partition_task
)
);
ISTAT
(
"push partition task into work queue"
,
KR
(
ret
),
K
(
partition_task_count_
));
}
}
queue_task
=
NULL
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录