Details
Description
Hopefully this is just a doc bug and not in the actual code, but all of the atomic updates including prepend (http://www.couchbase.com/docs/couchbase-sdk-java-1.0/couchbase-sdk-java-update-prepend.html) should not require CAS. That significantly defeats their performance effectiveness.
If the function *does* require CAS, we should document that a CAS id of 0 will override the requirement to get the key again as in this example:
client.prepend(casv.getCas(),"samplekey", "prependedstring");
If the function *does* require CAS, we should document that a CAS id of 0 will override the requirement to get the key again as in this example:
client.prepend(casv.getCas(),"samplekey", "prependedstring");
Issue Links
- duplicates
-
JCBC-196
append/incr/decr/add/replace should not require CAS value to be passed
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Gerrit Reviews
Michael Nitschinger
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Raghavan Srinivas [ rags ] | Michael Nitschinger [ daschl ] |
Michael Nitschinger
made changes -
| Fix Version/s | 1.1beta [ 10370 ] |
Matt Ingenthron
made changes -
| Fix Version/s | 1.1.0 [ 10274 ] | |
| Fix Version/s | 1.1-beta [ 10370 ] |
Michael Nitschinger
made changes -
| Fix Version/s | 1.1.1 [ 10430 ] | |
| Fix Version/s | 1.1.0 [ 10274 ] |
Michael Nitschinger
made changes -
Michael Nitschinger
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Duplicate [ 3 ] |