You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/01/14 09:55:02 UTC

[GitHub] [incubator-shardingsphere] longzhihun opened a new issue #3970: Got many warn message: com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency

longzhihun opened a new issue #3970: Got many warn message: com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency
URL: https://github.com/apache/incubator-shardingsphere/issues/3970
 
 
   I get many warn messages when i running sharding proxy standalone, message information:
   
   > com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency
   	at com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.mapXAExceptionFromSQLException(MysqlXAConnection.java:586)
   	at com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.recover(MysqlXAConnection.java:316)
   	at com.mysql.jdbc.jdbc2.optional.SuspendableXAConnection.recover(SuspendableXAConnection.java:155)
   	at com.atomikos.datasource.xa.RecoveryScan.recoverXids(RecoveryScan.java:32)
   	at com.atomikos.recovery.xa.XaResourceRecoveryManager.retrievePreparedXidsFromXaResource(XaResourceRecoveryManager.java:158)
   	at com.atomikos.recovery.xa.XaResourceRecoveryManager.recover(XaResourceRecoveryManager.java:67)
   	at com.atomikos.datasource.xa.XATransactionalResource.recover(XATransactionalResource.java:449)
   	at com.atomikos.icatch.imp.TransactionServiceImp.performRecovery(TransactionServiceImp.java:490)
   	at com.atomikos.icatch.imp.TransactionServiceImp.access$000(TransactionServiceImp.java:56)
   	at com.atomikos.icatch.imp.TransactionServiceImp$1.alarm(TransactionServiceImp.java:471)
   	at com.atomikos.timing.PooledAlarmTimer.notifyListeners(PooledAlarmTimer.java:95)
   	at com.atomikos.timing.PooledAlarmTimer.run(PooledAlarmTimer.java:82)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
   	at sun.reflect.GeneratedConstructorAccessor32.newInstance(Unknown Source)
   	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
   	at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
   	at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990)
   	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3751)
   	at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2512)
   	at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2683)
   	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2491)
   	at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2449)
   	at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1381)
   	at com.mysql.jdbc.jdbc2.optional.MysqlXAConnection.recover(MysqlXAConnection.java:295)
   	... 13 common frames omitted
   Caused by: java.net.SocketException: Broken pipe (Write failed)
   	at java.net.SocketOutputStream.socketWrite0(Native Method)
   	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:111)
   	at java.net.SocketOutputStream.write(SocketOutputStream.java:155)
   	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
   	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
   	at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3733)
   	... 19 common frames omitted
   
   What're the meanings of the warning messages.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] terrymanu closed issue #3970: Got many warn message: com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #3970: Got many warn message: com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency
URL: https://github.com/apache/incubator-shardingsphere/issues/3970
 
 
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] ssxlulu commented on issue #3970: Got many warn message: com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency

Posted by GitBox <gi...@apache.org>.
ssxlulu commented on issue #3970: Got many warn message: com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency
URL: https://github.com/apache/incubator-shardingsphere/issues/3970#issuecomment-575958327
 
 
   @longzhihun Hi, It may be a communication failure that raise the distribution transaction exception. You can execute `XA RECOVER` in the mysql server to see the further information.
   
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-shardingsphere] terrymanu commented on issue #3970: Got many warn message: com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #3970: Got many warn message: com.mysql.jdbc.jdbc2.optional.MysqlXAException: Undetermined error occurred in the underlying Connection - check your data for consistency
URL: https://github.com/apache/incubator-shardingsphere/issues/3970#issuecomment-574490484
 
 
   What is your version?

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services