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 2022/08/19 09:50:20 UTC

[GitHub] [shardingsphere] 954L commented on issue #17401: Shardingsphere-JDBC5.1.1 + seata1.4.2 Distributed transaction cannot be rolled back normally

954L commented on issue #17401:
URL: https://github.com/apache/shardingsphere/issues/17401#issuecomment-1220479768

   I have this bug too, in version sharding-jdbc-5.1.2
   actual-data-nodes: write.esp_ot_pay_order_$->{2021..2025}
   
   `17:18:34.386 [http-nio-8126-exec-2] ERROR i.s.r.d.s.s.c.AbstractTableMetaCache - get table meta error:Failed to fetch schema of esp_ot_pay_order
   java.sql.SQLException: Failed to fetch schema of esp_ot_pay_order
   	at io.seata.rm.datasource.sql.struct.cache.MysqlTableMetaCache.fetchSchema(MysqlTableMetaCache.java:86)
   	at io.seata.rm.datasource.sql.struct.cache.AbstractTableMetaCache.lambda$getTableMeta$0(AbstractTableMetaCache.java:61)
   	at com.github.benmanes.caffeine.cache.BoundedLocalCache.lambda$doComputeIfAbsent$14(BoundedLocalCache.java:2344)
   	at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
   	at com.github.benmanes.caffeine.cache.BoundedLocalCache.doComputeIfAbsent(BoundedLocalCache.java:2342)
   	at com.github.benmanes.caffeine.cache.BoundedLocalCache.computeIfAbsent(BoundedLocalCache.java:2325)
   	at com.github.benmanes.caffeine.cache.LocalCache.computeIfAbsent(LocalCache.java:108)
   	at com.github.benmanes.caffeine.cache.LocalManualCache.get(LocalManualCache.java:62)
   	at io.seata.rm.datasource.sql.struct.cache.AbstractTableMetaCache.getTableMeta(AbstractTableMetaCache.java:59)
   	at io.seata.rm.datasource.exec.BaseTransactionalExecutor.getTableMeta(BaseTransactionalExecutor.java:221)
   	at io.seata.rm.datasource.exec.BaseTransactionalExecutor.getTableMeta(BaseTransactionalExecutor.java:206)
   	at io.seata.rm.datasource.exec.UpdateExecutor.beforeImage(UpdateExecutor.java:69)`
   `Caused by: io.seata.common.exception.ShouldNeverHappenException: Could not found any index in the table: esp_ot_pay_order
   	at io.seata.rm.datasource.sql.struct.cache.MysqlTableMetaCache.resultSetMetaToSchema(MysqlTableMetaCache.java:173)
   	at io.seata.rm.datasource.sql.struct.cache.MysqlTableMetaCache.fetchSchema(MysqlTableMetaCache.java:82)
   	... 135 common frames omitted`
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org