Skip to content

Document new optimistic locking commands in Redis 8.4#2902

Merged
dwdougherty merged 2 commits intomainfrom
LiorKogan-patch-1
Mar 18, 2026
Merged

Document new optimistic locking commands in Redis 8.4#2902
dwdougherty merged 2 commits intomainfrom
LiorKogan-patch-1

Conversation

@LiorKogan
Copy link
Member

@LiorKogan LiorKogan commented Mar 18, 2026

Added information about new atomic commands in Redis 8.4 for compare-and-set and compare-and-delete operations.


Note

Low Risk
Low risk documentation-only change; potential risk is limited to minor inaccuracies/formatting in the newly added command references.

Overview
Updates the Transactions documentation to note that Redis 8.4 adds single-command atomic alternatives to WATCH/MULTI optimistic locking for string keys.

Specifically documents using SET with IFEQ/IFNE/IFDEQ/IFDNE for compare-and-set and DELEX for compare-and-delete when the value (or digest) hasn’t changed since it was fetched.

Written by Cursor Bugbot for commit 0889d48. This will update automatically on new commits. Configure here.

Added information about new atomic commands in Redis 8.4 for compare-and-set and compare-and-delete operations.
@LiorKogan LiorKogan requested a review from dwdougherty March 18, 2026 08:36
@github-actions
Copy link
Contributor

@jit-ci
Copy link

jit-ci bot commented Mar 18, 2026

🛡️ Jit Security Scan Results

CRITICAL HIGH MEDIUM

✅ No security findings were detected in this PR


Security scan by Jit

@dwdougherty dwdougherty self-assigned this Mar 18, 2026
@dwdougherty
Copy link
Collaborator

Thank you, @LiorKogan!

@dwdougherty dwdougherty merged commit 55f8e5b into main Mar 18, 2026
5 checks passed
@dwdougherty dwdougherty deleted the LiorKogan-patch-1 branch March 18, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants