扩容和收缩后写入不了数据

为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。

  • 【TiDB 版本】:5.7.25-TiDB-v4.0.0-alpha-1292-gb1c08ee27
  • 【问题描述】: mysql> use test; Database changed mysql> show tables; Empty set (0.00 sec)

mysql> create table xie(id int, name varchar(20));

ERROR 8027 (HY000): Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV mysql> mysql> mysql> mysql> drop database test;

show databases; ERROR 8027 (HY000): Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV mysql>

若提问为性能优化、故障排查类问题,请下载脚本运行。终端输出的打印结果,请务必全选并复制粘贴上传。

  1. 具体做了哪些操作? 先扩容,再缩容?
  2. 麻烦发送配置信息inventory.ini
  3. 请检查当前overview监控信息,每个节点状态是否正常?