# 问题描述客户反馈主从切换后,表的中记录的最大值比自增列的值要大,导致插入异常报错 **"Duplicate entry 'xxxx' for key 'PRIMARY'"**# 问题复现### 1.主库插入测试数据```sqlmysql> drop test_autoinc;ER... mysql> insert into test_autoinc(c1,c2) values(6,6);ERROR 1062 (23000): Duplicate entry '6' for key 'PRIMARY'# 再次重试插入可以正常插入,因为自增主键失败不回滚,AUTO_INCREMENT 会自动变成7mysql> in...
(https://p6-volc-community-sign.byteimg.com/tos-cn-i-tlddhu82om/1062d0ddf1ac476c893c50586045f672~tplv-tlddhu82om-image.image?=&rk3s=8031ce6d&x-expires=1714494057&x-signature=wWhRgyoh5uigYbaIj%2BK%2FLUQQIVo%3D) 3 张图合二为一: ![picture.image](https://p6-volc-community-sign.byteimg.com/tos-cn-i-tlddhu82om/8b5ee8ba9f494fa28e21a5c512bce959~tplv-tlddhu82om-image.image?=&rk3s=8031ce6d&x-expir...
[picture.image](https://p6-volc-community-sign.byteimg.com/tos-cn-i-tlddhu82om/7a1062ae1f3f416090a7d89d23f7fccb~tplv-tlddhu82om-image.image?=&rk3s=8031ce6d&x-expires=1714494006&x-signature=qdpmiN%2BTHp7ak%2BJnQlBm%2B4L4uSI%3D) 日期时间格式变更帮助解决不同应用步骤中对日期时间格式的不同要求。比如应用A中的日期格式是“年月日”的格式,应用B中的日期格式是时间戳或者其他时间格式,在这种情况下,...
#1062] feat(generic): supports JSON and Map generic call for the KitexProtobuf protocol, doc* [#1225] feat(timeout): support timeout transparent transmission by default when using TTHeader transport protocol* [#1211] feat(hessian2): support nested struct for hessian2 customized Exception### ****Optimize***** [#1222] optimize(frugal): enable frugal by default when the generate...
客户端限制操作系统 发行版 内核版本 RHEL 或 CentOS 8.4 4.18.0-305.19.1.el8_4 8.3 4.18.0-240.22.1.el8_3 8.2 4.18.0-193.28.1.el8_2 8.1 4.18.0-147.8.1.el8_1 8.0 4.18.0-80.11.2.el8_0 7.9 3.10.0-1160.42.2.el7 7.8 3.10.0-1127.19.1.el7 7.7 3.10.0-1062.18.1.el7 7.6 3.10.0-957.54.1.el7 7.5 3.10.0-862.14.4.el7 7.4 3.10.0-693.2.2.el7 7.3 3.10.0-514.26.2.el7 7.2 3.10.0-514.26.2....
#1062] feat(generic): supports JSON and Map generic call for the KitexProtobuf protocol, doc* [#1225] feat(timeout): support timeout transparent transmission by default when using TTHeader transport protocol* [#1211] feat(hessian2): support nested struct for hessian2 customized Exception### ****Optimize***** [#1222] optimize(frugal): enable frugal by default when the generate...
镜像版本 内核版本 CentOS 7.9 3.10.0-1160.71.1 CentOS 7.8 3.10.0-1127.19.1 CentOS 7.7 3.10.0-1062.18 CentOS 7.6 3.10.0-957.27.2 CentOS 7.5 3.10.0-862.14.4 CentOS 7.4 3.10.0-693.21.1 CentOS 7.3 3.10.0-514.26.2 CentOS 7.2 3.10.0-327.36.3 公网环境:yum -y install rpm-build redhat-lsb-coreyum -y install epel-release sed -e 's!^metalink=!metalink=!g' \ -e 's!^baseurl=!baseurl=!g' \ -e 's!//downlo...