未验证 提交 53650bb5 编写于 作者: J jiangmengmeng 提交者: GitHub

fix misspelled word in issue#277 (#696)

上级 0822911e
......@@ -159,9 +159,9 @@ int ObElectionRpc::post_election_msg(
ELECT_ASYNC_LOG(WARN, "serialize msg_type error", K(ret), "msg_type", msg.get_msg_type());
} else if (OB_SUCCESS !=
(ret = partition.serialize(msgbuf.get_data(), msgbuf.get_capacity(), msgbuf.get_position()))) {
ELECT_ASYNC_LOG(WARN, "seralize partition error", K(ret), K(partition));
ELECT_ASYNC_LOG(WARN, "serialize partition error", K(ret), K(partition));
} else if (OB_SUCCESS != (ret = msg.serialize(msgbuf.get_data(), msgbuf.get_capacity(), msgbuf.get_position()))) {
ELECT_ASYNC_LOG(WARN, "seralize msg error", K(ret), K(msg));
ELECT_ASYNC_LOG(WARN, "serialize msg error", K(ret), K(msg));
} else {
if (OB_SUCCESS != (ret = rpc_proxy_->to(server)
......@@ -195,7 +195,7 @@ int ObElectionRpc::post_election_group_msg(const ObAddr& server, const int64_t c
msgbuf.get_data(), msgbuf.get_capacity(), msgbuf.get_position(), msg.get_msg_type()))) {
ELECT_ASYNC_LOG(WARN, "serialize msg_type error", K(ret), "msg_type", msg.get_msg_type());
} else if (OB_FAIL(eg_id.serialize(msgbuf.get_data(), msgbuf.get_capacity(), msgbuf.get_position()))) {
ELECT_ASYNC_LOG(WARN, "seralize eg_id error", K(ret), K(eg_id));
ELECT_ASYNC_LOG(WARN, "serialize eg_id error", K(ret), K(eg_id));
} else if (OB_FAIL(serialization::encode_i64(
msgbuf.get_data(), msgbuf.get_capacity(), msgbuf.get_position(), part_array_buf.get_eg_version()))) {
ELECT_ASYNC_LOG(WARN, "serialize eg_version error", K(ret));
......@@ -214,7 +214,7 @@ int ObElectionRpc::post_election_group_msg(const ObAddr& server, const int64_t c
}
if (OB_SUCC(ret)) {
if (OB_FAIL(msg.serialize(msgbuf.get_data(), msgbuf.get_capacity(), msgbuf.get_position()))) {
ELECT_ASYNC_LOG(WARN, "seralize msg error", K(ret), K(msg));
ELECT_ASYNC_LOG(WARN, "serialize msg error", K(ret), K(msg));
} else {
if (OB_FAIL(rpc_proxy_->to(server)
.dst_cluster_id(cluster_id)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册