Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Metz
oceanbase
提交
a2c22b06
O
oceanbase
项目概览
Metz
/
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,发现更多精彩内容 >>
提交
a2c22b06
编写于
9月 27, 2021
作者:
Q
qianchanger
提交者:
wangzelin.wzl
9月 27, 2021
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix -4016 problem in ob_task serialize
上级
b78e3041
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
9 addition
and
4 deletion
+9
-4
src/sql/engine/px/ob_dfo.cpp
src/sql/engine/px/ob_dfo.cpp
+7
-2
src/sql/executor/ob_task.cpp
src/sql/executor/ob_task.cpp
+2
-2
未找到文件。
src/sql/engine/px/ob_dfo.cpp
浏览文件 @
a2c22b06
...
...
@@ -726,10 +726,13 @@ OB_DEF_SERIALIZE(ObPxRpcInitTaskArgs)
LOG_WARN
(
"failed to deserialize kit store"
,
K
(
ret
));
}
}
else
{
ObPhyOpSeriCtx
seri_ctx
;
seri_ctx
.
exec_ctx_
=
exec_ctx_
;
if
(
OB_ISNULL
(
op_root_
))
{
ret
=
OB_ERR_UNEXPECTED
;
LOG_WARN
(
"unexpected status: op root is null"
,
K
(
ret
));
}
else
if
(
OB_FAIL
(
ObPxTreeSerializer
::
serialize_tree
(
buf
,
buf_len
,
pos
,
*
op_root_
,
task_
.
is_fulltree
())))
{
}
else
if
(
OB_FAIL
(
ObPxTreeSerializer
::
serialize_tree
(
buf
,
buf_len
,
pos
,
*
op_root_
,
task_
.
is_fulltree
(),
&
seri_ctx
)))
{
LOG_WARN
(
"fail serialize root_op"
,
K
(
ret
),
K
(
buf_len
),
K
(
pos
));
}
}
...
...
@@ -846,7 +849,9 @@ OB_DEF_SERIALIZE_SIZE(ObPxRpcInitTaskArgs)
ret
=
OB_ERR_UNEXPECTED
;
LOG_ERROR
(
"unexpected status: op root is null"
,
K
(
ret
));
}
else
{
len
+=
ObPxTreeSerializer
::
get_tree_serialize_size
(
*
op_root_
,
task_
.
is_fulltree
());
ObPhyOpSeriCtx
seri_ctx
;
seri_ctx
.
exec_ctx_
=
exec_ctx_
;
len
+=
ObPxTreeSerializer
::
get_tree_serialize_size
(
*
op_root_
,
task_
.
is_fulltree
(),
&
seri_ctx
);
}
}
}
...
...
src/sql/executor/ob_task.cpp
浏览文件 @
a2c22b06
...
...
@@ -58,7 +58,7 @@ OB_DEF_SERIALIZE(ObTask)
ret
=
OB_NOT_INIT
;
LOG_WARN
(
"task not init"
,
K_
(
op_root
),
K_
(
exec_ctx
),
K_
(
ser_phy_plan
));
}
else
if
(
ser_phy_plan_
->
is_dist_insert_or_replace_plan
()
&&
location_idx_
!=
OB_INVALID_INDEX
)
{
OZ
(
exec_ctx_
->
reset_one_row_id_list
(
exec_ctx_
->
get_part_row_manager
().
get_row_id_list
(
location_idx_
)
));
IGNORE_RETURN
exec_ctx_
->
reset_one_row_id_list
(
exec_ctx_
->
get_part_row_manager
().
get_row_id_list
(
location_idx_
));
}
LST_DO_CODE
(
OB_UNIS_ENCODE
,
*
ser_phy_plan_
);
LST_DO_CODE
(
OB_UNIS_ENCODE
,
*
exec_ctx_
);
...
...
@@ -184,7 +184,7 @@ OB_DEF_SERIALIZE_SIZE(ObTask)
LOG_ERROR
(
"task not init"
,
K_
(
exec_ctx
),
K_
(
ser_phy_plan
));
}
else
{
if
(
ser_phy_plan_
->
is_dist_insert_or_replace_plan
()
&&
location_idx_
!=
OB_INVALID_INDEX
)
{
exec_ctx_
->
reset_one_row_id_list
(
exec_ctx_
->
get_part_row_manager
().
get_row_id_list
(
location_idx_
));
IGNORE_RETURN
exec_ctx_
->
reset_one_row_id_list
(
exec_ctx_
->
get_part_row_manager
().
get_row_id_list
(
location_idx_
));
}
LST_DO_CODE
(
OB_UNIS_ADD_LEN
,
*
ser_phy_plan_
);
LST_DO_CODE
(
OB_UNIS_ADD_LEN
,
*
exec_ctx_
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录