【发布时间】:2022-01-28 08:05:36
【问题描述】:
在使用 springboot 在 cockroach 数据库中执行写入/读取操作时,我们会间歇性地出现以下错误。这里的任何解决方案都值得赞赏。谢谢
原因:
org.postgresql.util.PSQLException: ERROR: restart transaction: TransactionRetryWithProtoRefreshError: ReadWithinUncertaintyIntervalError: read at time 1640760553.619962171,0 遇到以前的写入,带有未来的时间戳
【问题讨论】:
-
您必须提供导致错误消息的代码段
标签: postgresql spring-boot spring-data-jpa cockroachdb