XiaoFeiASK opened a new pull request, #1170:
URL: https://github.com/apache/incubator-seata-go/pull/1170

   - [ ] I have registered the PR 
[changes](https://github.com/apache/incubator-seata-go/tree/master/changes).
   
   ## **What this PR does**:
   
   Aligns the gRPC protobuf message types with the Seata protocol.
   
   The following message types are corrected:
   
   - TM registration uses `TYPE_REG_CLT`.
   - RM branch status reporting uses `TYPE_BRANCH_STATUS_REPORT`.
   - RM branch commit responses use `TYPE_BRANCH_COMMIT_RESULT`.
   - RM branch rollback responses use `TYPE_BRANCH_ROLLBACK_RESULT`.
   
   Regression tests are added to verify the message types in these requests and 
responses.
   
   ## **Which issue(s) this PR fixes**:
   
   Fixes #1169
   
   ## **Special notes for your reviewer**:
   
   The incorrect message type in the gRPC global commit request
   (`TYPE_GLOBAL_BEGIN` instead of `TYPE_GLOBAL_COMMIT`) has already been
   fixed separately in [PR 
#1166](https://github.com/apache/incubator-seata-go/pull/1166).
   
   
   ## **Does this PR introduce a user-facing change?**:
   
   Yes. This is a wire-protocol compatibility fix for gRPC communication 
between Seata Go and Seata Server. No public API changes are introduced.
   
   ```release-note
   Fix incorrect gRPC protobuf message types to ensure compatibility with the 
Seata protocol.


-- 
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]

Reply via email to