提交 fefa90bb 编写于 作者: O obdev 提交者: wangzelin.wzl

[CP] [FIX] Participants serialize size may calculate twice when retry prepare request

上级 ba60d371
......@@ -12286,7 +12286,8 @@ int ObPartTransCtx::calc_serialize_size_and_set_participants_(const ObPartitionA
int ObPartTransCtx::do_calc_and_set_participants_(const ObPartitionArray &participants)
{
int ret = OB_SUCCESS;
int64_t participants_serialize_size = participants_.get_serialize_size() + participants.get_serialize_size();
// only get serialize size from parameter
int64_t participants_serialize_size = participants.get_serialize_size();
int64_t undo_serialize_size = undo_status_.get_serialize_size();
int64_t redo_log_id_serialize_size = prev_redo_log_ids_.get_serialize_size();
bool has_redo_log = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册