【 TiDB 使用环境】测试
【 TiDB 版本】v5.3.0
【复现路径】运行tidis
【遇到的问题:问题现象及影响】
我在3台物理服务器(每台内存为128G)上,部署了3节点的TiKV+3节点的PD和3节点的TiDB,基于3节点的PD部署了Tidis。
【资源配置】
Tidis server的config.toml主要内容如下:
[server]
pd_addrs = "172.26.9.81:2379,172.26.9.82:2379,172.26.9.83:2379"
instance_id = "1"
prometheus_listen = "0.0.0.0"
prometheus_port = 8080
log_level = "info"
log_file = "tikv-service.log"
通过Tidis插入排序集数据,一段时间后,在日志tikv-service.log中,出现了如下错误:
2023/01/04 12:54:40.182 +08:00 ERRO error occured so rollback transaction: gRPC error: RpcFailure: 8-RESOURCE_EXHAUSTED Received message larger than max (9612720 vs. 4194304)
2023/01/04 12:54:40.183 +08:00 ERRO connection error TikvClient(Grpc(RpcFailure(RpcStatus { code: 8-RESOURCE_EXHAUSTED, message: "Received message larger than max (9612720 vs. 4194304)", details: [] })))
2023/01/04 12:54:44.090 +08:00 ERRO error occured so rollback transaction: gRPC error: RpcFailure: 8-RESOURCE_EXHAUSTED Received message larger than max (9723284 vs. 4194304)
以上错误的关键信息,应该是:
RpcFailure: 8-RESOURCE_EXHAUSTED Received message larger than max (9723284 vs. 4194304)
【附件:截图/日志/监控】
经查,好像跟grpc有关,但是不知道在哪里设置或说修改配置参数?谢谢!