Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sql: enable the skip-locked wait policy #14770

Closed
cockroach-teamcity opened this issue Aug 10, 2022 · 2 comments
Closed

sql: enable the skip-locked wait policy #14770

cockroach-teamcity opened this issue Aug 10, 2022 · 2 comments

Comments

@cockroach-teamcity
Copy link
Member

cockroach-teamcity commented Aug 10, 2022

Exalate commented:

Related PR: cockroachdb/cockroach#85720
Commit: cockroachdb/cockroach@338d7fe


Release note (sql change): SELECT ... FOR {UPDATE,SHARE} SKIP LOCKED
is now supported. The option can be used to skip rows that cannot be
immediately locked instead of blocking on contended row-level lock
acquisition.

Jira Issue: DOC-5300

@rytaft
Copy link
Contributor

rytaft commented Dec 8, 2022

@taroface do you think you'll have a chance to get to this soon? The docs here are currently incorrect: https://www.cockroachlabs.com/docs/stable/select-for-update.html#wait-policies, as SKIP LOCKED is now supported.

@taroface
Copy link
Contributor

taroface commented Dec 8, 2022

Sorry for the delay! I'm presently going through the product changes, so I've just handled this in #15759

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants