Deleting a branch is permanent. It CANNOT be undone. Continue?
fix-2049
into V20220830
1 year ago
Deleting a branch is permanent. It CANNOT be undone. Continue?
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》
https://git.openi.org.cn/OpenI/aiforge/issues/2049
从日志看,是自增id的当前值比现有记录的id最大值小1, 新增记录时生成的ID和现有ID重复导致失败。
出现自增id的当前值比现有记录的id最大值小1的原因还没找到,还没找到复现方法。
规避解决办法:在新增记录之前,设置自增id的当前值为现有记录的id最大值。
测试方法:先使用之前有这个问题的的版本,在数据库将自增id设置为比现有记录的id最大值小1,提交新镜像,提交失败;
切换到0830分支版本,提交新镜像可以成功。
Reviewers
2be27252ed
.