cockroachdb / cockroachdb/cockroach

Nullable sqlState for retiable exceptions

Open
#128,379 3 comments 0 reactions 0 assignees View on GitHub
C-investigation O-community T-sql-foundations
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.