Skip to content

Commit

Permalink
Add important note
Browse files Browse the repository at this point in the history
  • Loading branch information
juliannguyen4 committed Jan 14, 2025
1 parent 6f9fab5 commit 9da043b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/on_locking_only.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
**on_locking_only** (:class:`bool`)

NOTE: this policy only works for transaction level policies, not config level policies.

Execute the write command only if the record is not already locked by this transaction.
If this field is true and the record is already locked by this transaction, the command will
raise an Aerospike exception with server error code ``AEROSPIKE_MRT_ALREADY_LOCKED`` (``126``).
Expand Down

0 comments on commit 9da043b

Please sign in to comment.