ITPub博客

首页 > > > Certification information不能过大

Certification information不能过大

作者:友哥 时间:2019-05-29 15:22:00 0 删除 编辑

/*
If certification information is too big this event can't be transmitted
as it would cause failures on all group members.
To avoid this, we now instead encode an error that will make the joiner
leave the group.
*/
if (event_size > get_slave_max_allowed_packet()) {
cert_info.clear();
cert_info[Certifier::CERTIFICATION_INFO_ERROR_NAME] =
"Certification information is too large for transmission.";
vchange_event->set_certification_info(&cert_info, &event_size);
}

原文作者:;如有侵权,请联系管理员删除。

下一篇: 临时变量
请登录后发表评论 登录
全部评论

注册时间:2020-05-20

  • 博文量
    276
  • 访问量
    999