【 TiDB 使用环境】生产环境 or 测试环境 or POC
【 TiDB 版本】tidb 5.2.3
【遇到的问题】
【复现路径】做过哪些操作出现的问题
【问题现象及影响】
使用select into outfile 导出数据 也是报Error querying database. Cause: java.sql.SQLException: other error: [src/coprocessor/dag/mod.rs:131]: IoError(Custom { kind: Other, error: “given slice is too small to serialize the message” })
select * from aa where modifyTime <= ‘2022-04-21’ into outfile ‘/data/20220421/file_dat/aa_202204210.datTemp’ fields terminated by ‘|@|’ lines terminated by ‘\
’;
有时候还会报java.sql.SQLException: TiKV server timeout
; uncategorized SQLException; SQL state [HY000]; error code [9002]; TiKV server timeout; nested exception is java.sql.SQLException: TiKV server timeout
使用jdbc连接的Error querying database. Cause: java.sql.SQLException: other error: [src/coprocessor/dag/mod.rs:131]: IoError(Custom { kind: Other, error: “given slice is too small to serialize the message” })