Skip to content

document skip locked#2466

Open
dahajnal wants to merge 6 commits intocapire:mainfrom
dahajnal:skip_locked_java
Open

document skip locked#2466
dahajnal wants to merge 6 commits intocapire:mainfrom
dahajnal:skip_locked_java

Conversation

@dahajnal
Copy link

@dahajnal dahajnal commented Mar 23, 2026

Add documentation for the new SKIP LOCKED feature in CAP Java introduced in 4.8.0

@dahajnal dahajnal requested a review from smahati as a code owner March 23, 2026 14:37
@agoerler agoerler self-requested a review March 24, 2026 20:00
.lock(EXCLUSIVE, SKIP_LOCKED);
```

Rows that are currently locked by other transactions are silently excluded from the result. This is useful for queue-like processing where multiple workers consume available items concurrently without blocking each other.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe render the first sentence as a "warning" box and the second as a "tip" box ...

@dahajnal
Copy link
Author

@smahati, can you please review this PR?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants