Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
clmforever
oceanbase
提交
e1bbb36c
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,发现更多精彩内容 >>
提交
e1bbb36c
编写于
3月 02, 2023
作者:
T
Tyshawn
提交者:
ob-robot
3月 02, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[BUG.FIX] Reduce log printing during tablet swap in and out
上级
e0c0e303
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
8 deletion
+8
-8
src/storage/blocksstable/ob_sstable.cpp
src/storage/blocksstable/ob_sstable.cpp
+2
-2
src/storage/tablet/ob_tablet.cpp
src/storage/tablet/ob_tablet.cpp
+1
-1
src/storage/tablet/ob_tablet_table_store.cpp
src/storage/tablet/ob_tablet_table_store.cpp
+5
-5
未找到文件。
src/storage/blocksstable/ob_sstable.cpp
浏览文件 @
e1bbb36c
...
...
@@ -875,7 +875,7 @@ int ObSSTable::deserialize(common::ObIAllocator &allocator,
LOG_WARN
(
"sstable meta is not valid"
,
K
(
ret
),
K_
(
meta
));
}
else
{
pos
=
new_pos
;
FLOG_INFO
(
"succeed to deserialize sstable"
,
KPC
(
this
));
LOG_DEBUG
(
"succeed to deserialize sstable"
,
KPC
(
this
));
}
if
(
OB_FAIL
(
ret
))
{
LOG_WARN
(
"fail to deserialize sstable"
,
K
(
ret
),
K
(
*
this
));
...
...
@@ -895,7 +895,7 @@ int ObSSTable::deserialize_post_work()
}
else
if
(
SSTABLE_WRITE_BUILDING
!=
meta_
.
get_basic_meta
().
status_
&&
OB_FAIL
(
check_valid_for_reading
()))
{
LOG_WARN
(
"fail to check state"
,
K
(
ret
));
}
else
{
FLOG_INFO
(
"succeed to do post work for sstable deserialize"
,
KPC
(
this
));
LOG_DEBUG
(
"succeed to do post work for sstable deserialize"
,
KPC
(
this
));
}
return
ret
;
}
...
...
src/storage/tablet/ob_tablet.cpp
浏览文件 @
e1bbb36c
...
...
@@ -759,7 +759,7 @@ int ObTablet::load_deserialize(
tablet_meta_
.
max_sync_storage_schema_version_
=
storage_schema_
.
schema_version_
;
}
is_inited_
=
true
;
LOG_INFO
(
"succeeded to deserialize tablet"
,
K
(
ret
),
K
(
*
this
));
F
LOG_INFO
(
"succeeded to deserialize tablet"
,
K
(
ret
),
K
(
*
this
));
}
else
if
(
OB_UNLIKELY
(
!
is_inited_
))
{
reset
();
}
...
...
src/storage/tablet/ob_tablet_table_store.cpp
浏览文件 @
e1bbb36c
...
...
@@ -1329,7 +1329,7 @@ int64_t ObTabletTableStore::to_string(char *buf, const int64_t buf_len) const
ObITable
*
table
=
major_tables_
[
i
];
if
(
NULL
!=
table
&&
table
->
is_sstable
())
{
J_OBJ_START
();
J_KV
(
K
(
i
),
"type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
J_KV
(
K
(
i
),
"
ptr"
,
table
,
"
type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
"tablet_id"
,
table
->
get_key
().
tablet_id_
,
"scn_range"
,
table
->
get_key
().
scn_range_
,
"ref"
,
table
->
get_ref
(),
...
...
@@ -1344,7 +1344,7 @@ int64_t ObTabletTableStore::to_string(char *buf, const int64_t buf_len) const
ObITable
*
table
=
minor_tables_
[
i
];
if
(
NULL
!=
table
&&
table
->
is_sstable
())
{
J_OBJ_START
();
J_KV
(
K
(
i
),
"type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
J_KV
(
K
(
i
),
"
ptr"
,
table
,
"
type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
"tablet_id"
,
table
->
get_key
().
tablet_id_
,
"scn_range"
,
table
->
get_key
().
scn_range_
,
"ref"
,
table
->
get_ref
(),
...
...
@@ -1360,7 +1360,7 @@ int64_t ObTabletTableStore::to_string(char *buf, const int64_t buf_len) const
ObITable
*
table
=
ddl_sstables_
[
i
];
if
(
NULL
!=
table
&&
table
->
is_sstable
())
{
J_OBJ_START
();
J_KV
(
K
(
i
),
"type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
J_KV
(
K
(
i
),
"
ptr"
,
table
,
"
type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
"tablet_id"
,
table
->
get_key
().
tablet_id_
,
"scn_range"
,
table
->
get_key
().
scn_range_
,
"ref"
,
table
->
get_ref
(),
...
...
@@ -1375,7 +1375,7 @@ int64_t ObTabletTableStore::to_string(char *buf, const int64_t buf_len) const
ObITable
*
table
=
ddl_mem_sstables_
[
i
];
if
(
NULL
!=
table
&&
table
->
is_sstable
())
{
J_OBJ_START
();
J_KV
(
K
(
i
),
"type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
J_KV
(
K
(
i
),
"
ptr"
,
table
,
"
type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
"tablet_id"
,
table
->
get_key
().
tablet_id_
,
"scn_range"
,
table
->
get_key
().
scn_range_
,
"ref"
,
table
->
get_ref
(),
...
...
@@ -1390,7 +1390,7 @@ int64_t ObTabletTableStore::to_string(char *buf, const int64_t buf_len) const
ObITable
*
table
=
extend_tables_
[
i
];
if
(
NULL
!=
table
&&
table
->
is_sstable
())
{
J_OBJ_START
();
J_KV
(
K
(
i
),
"type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
J_KV
(
K
(
i
),
"
ptr"
,
table
,
"
type"
,
ObITable
::
get_table_type_name
(
table
->
get_key
().
table_type_
),
"tablet_id"
,
table
->
get_key
().
tablet_id_
,
"scn_range"
,
table
->
get_key
().
scn_range_
,
"ref"
,
table
->
get_ref
(),
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录