sql: provide session variable to allow for FOR UPDATE
locks to be replicated
#89111
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
Is your feature request related to a problem? Please describe.
This tracks the idea that in some cases, it is desirable for
FOR UPDATE
locks to be durable. This will reduce the chance for a client to unknowingly lose a lock (though it will not fully eliminate that chance if either the transaction coordinator or the client itself is partitioned or aborted, perhaps due to deadlock or a higher-priority pusher).Describe the solution you'd like
Add a session variable which allows
FOR UPDATE
locks to lead to a durable lock being replicated.Additional context
There are a few problems with this:
Jira issue: CRDB-20123
The text was updated successfully, but these errors were encountered: