Open
Description
In cockroach, when using the SAVEPOINT cockroach_restart
technique to recover from serializable restarts, the transaction's locks are held across restarts. This enables liveness among contended transactions. In the driver today, there's exponential backoff in those restarts. That means that locks will be held for a long period of inactivity, exacerbating the cost of contention potentially greatly.
See
sqlalchemy-cockroachdb/sqlalchemy_cockroachdb/transaction.py
Lines 77 to 90 in 19e66cc
Metadata
Metadata
Assignees
Labels
No labels