tachibana22 commented on PR #1133: URL: https://github.com/apache/incubator-seata-go/pull/1133#issuecomment-5113754732
@slievrly 感谢Review 具体变更如下: 1. 分支 Base 重置(Rebase) 已 Rebase 至最新的 main / master 分支并强推。 目前 PR diff 中的 2500+ 行无关文件删除已清除,变动范围已严格限定在复合主键相关的 AT-mode 文件中。 2. rowListToMap 复合键分隔符碰撞问题 已将原本固定分隔符拼接的方式重构为长度前缀编码(Length-Prefixed Encoding)。 规避了包含 _##$$_ 或特殊字符的业务字符串主键/tenant_id 发生 key 碰撞的隐患,并新增了对应的防御性单测 TestRowListToMap_CollisionPrevention。 3. PK 顺序一致性校验与测试 重新核对并确认:trigger 解析、insert_executor 分组、undo executor 占位符绑定以及 rowListToMap 拼 key 四个环节,全部统一遵循 SEQ_IN_INDEX ASC 的确定性顺序。 新增了针对复合主键乱序输入的测试用例 TestGetOrderedPkListCompositePK_ShuffledInput,锁定跨层的 PK 顺序一致性。 4. PR 描述清理 已清理 PR Description 中残存的 AI 引用标记,保持文案整洁。 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
