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

   Continues #1074 (thanks @everfid-ever). Closes #1134.
   
   The `UndoLogDeleteRequest` (type 111) codec ordered fields differently from 
the Java `UndoLogDeleteRequestCodec`. Since the TC server (Java) is the sender 
of this message and writes `branchType → resourceId → saveDays`, the Go client 
must decode in the same order; the previous order silently mis-parsed TC 
messages and the undo_log cleanup never ran.
   
   This PR aligns the wire order, rejects malformed decodes (return nil), and 
logs unexpected message body types.
   
   Postgres dialect support and a `saveDays <= 0` guard are left as follow-ups.


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