forked from spring-attic/spring-data-aerospike
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FMWK-285 Compare versions when performing delete operations (#681)
* align save, insert, update and delete methods that receive documents to throw CAS exception * add deleteAll(Iterable) * GENERATION_ERROR, KEY_EXISTS_ERROR and KEY_NOT_FOUND_ERROR now cause OptimisticLockingFailureException when a versioned document is written --------- Co-authored-by: yrizhkov <[email protected]>
- Loading branch information
Showing
17 changed files
with
784 additions
and
274 deletions.
There are no files selected for viewing
188 changes: 146 additions & 42 deletions
188
src/main/java/org/springframework/data/aerospike/core/AerospikeOperations.java
Large diffs are not rendered by default.
Oops, something went wrong.
127 changes: 92 additions & 35 deletions
127
src/main/java/org/springframework/data/aerospike/core/AerospikeTemplate.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.