linghengqian opened a new pull request, #30146:
URL: https://github.com/apache/shardingsphere/pull/30146

   Fixes #19517.
   
   Changes proposed in this pull request:
     - Bump Seata Client for testing to 2.0.0. This involves updating unit 
tests.
     - Document the problems with `org.antlr:antlr4-runtime:4.8` of Seata 
Client. On the ShardingSphere side `4.10.1` is used.
     - Documented issue with inability to operate the `undo_log` table. This 
involves two aspects, one is the mismatch between Seata's Server and Client, 
and the other is the lack of the `ext` field in the document's `undo_log` table.
   ```shell
   [ERROR] 2024-02-16 19:28:35.520 [AsyncWorker_1_2_2] 
io.seata.rm.datasource.AsyncWorker - Failed to batch delete undo log
   com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link 
failure
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174)
        ...
   Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications 
link failure
        at 
java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
        ...
   Caused by: java.io.IOException: Socket is closed
        at 
com.mysql.cj.protocol.AbstractSocketConnection.getMysqlInput(AbstractSocketConnection.java:72)
        ...
   [ERROR] 2024-02-16 19:28:35.520 [AsyncWorker_1_2_2] 
io.seata.rm.datasource.AsyncWorker - Failed to rollback JDBC resource after 
deleting undo log failed
   java.sql.SQLException: Connection is closed
        at 
com.zaxxer.hikari.pool.ProxyConnection$ClosedConnection.lambda$getClosedConnection$0(ProxyConnection.java:515)
        ...
   ```
   
   ---
   
   Before committing this PR, I'm sure that I have checked the following 
options:
   - [x] My code follows the [code of 
conduct](https://shardingsphere.apache.org/community/en/involved/conduct/code/) 
of this project.
   - [x] I have self-reviewed the commit code.
   - [x] I have (or in comment I request) added corresponding labels for the 
pull request.
   - [x] I have passed maven check locally : `./mvnw clean install -B -T1C 
-Dmaven.javadoc.skip -Dmaven.jacoco.skip -e`.
   - [x] I have made corresponding changes to the documentation.
   - [x] I have added corresponding unit tests for my changes.
   


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

Reply via email to