XiaoFeiASK commented on PR #1125: URL: https://github.com/apache/incubator-seata-go/pull/1125#issuecomment-4881360899
新增修改 pkg/integration/rocketmq/tcc_rocketmq_action.go 问题: offsetMsgId 和 msgId 均缺失或解析失败时,commitLogOffset 保持为 0 仍发送 END_TRANSACTION,导致无效 offset 发往 Broker。 修复: buildEndTransactionHeader 返回 (*header, bool),commitLogOffset == 0 时返回 false;Commit/Rollback 中解析失败直接 skip 主动通知,fallback 到 check-back;修正现有单测并补充 3 个新用例。 影响: 避免发送无效 offset 请求,与已有 topic/brokerName 缺失防御策略对齐,边界场景下降级为 check-back。 -- 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]
