现象
客户端报错:
ERROR 2027 (HY000): Malformed packet
环境:
mysql版本:5.7.21
mysql架构:pxc
操作步骤:
create table t1(id int auto_increment primary key, v1 varchar(10000),v2 varchar(10000), a int) engine=innodb default charset=utf8;
insert into t1 select null,repeat('a',8000),repeat('a',8000),1;
insert into t1 select null, v1, v2, a from t1;
insert into t1 select null, v1, v2, a from t1;
insert into t1 select null, v1, v2, a from t1;
insert into t1 select null, v1, v2, a from t1;
insert into t1 select null, v1, v2, a from t1;
insert into t1 select null, v1, v2, a from t1;
insert into t1 select null, v1, v2, a from t1;
insert into t1 select null, v1, v2, a from t1;
insert into t1 select null, v1, v2, a from t1;
select count(1) from t1;
update t1 set a=id%4;
select id,a from t1 limit 10;
create table t2 like t1;
insert into t2 select * from t1 order by a,v1 limit 500, 2;
错误定位:
1.定位到客户端错误抛出位