cockroachdb / cockroachdb/cockroach
Nullable sqlState for retiable exceptions
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
During transaction commit an exception occurred that undergo the retry logic. But the sqlState is nullable.
org.postgresql.util.PSQLException: ERROR: restart transaction: TransactionRetryWithProtoRefreshError: TransactionRetryError: retry txn (RETRY_SERIALIZABLE - failed preemptive refresh due to conflicting locks on /Table/498/1/"DEU"/0/"\\\xdf\xeeο+A\xac\x87B\xab\x9c]\xe5\xf8l"/0 [reason=wait_policy] - conflicting txn: meta={id=56041a3c key=/Table/498/8/"\x92\xc5P݀\xe3F\x9a\xa9\x8d\v\x8f\rK\xcb\x7f"/"\\\xdf\xeeο+A\xac\x87B\xab\x9c]\xe5\xf8l"/0 iso=Serializable pri=0.00246256 epo=0 ts=1722882686.481050825,0 min=1722882686.481050825,0 seq=1}): "sql txn" meta={id=e9d00ea5 key=/Table/494/6/"\x92\xc5P݀\xe3F\x9a\xa9\x8d\v\x8f\rK\xcb\x7f"/"o\xda\xf7\x84Y
Contributor guide
Assessment
This issue has not been assessed yet.