Details
-
Bug
-
Resolution: Won't Do
-
Trivial
-
None
-
1.4.1
-
Security Level: Public
-
None
Description
When issuing an increment or decrement on a locked key (via getAndLock) the result is -1, which is according to documentation that the key hasn't been found. This is confusing when combining with default values. I created a gist for this to illustrate https://gist.github.com/sideshowcoder/8d3ae572bc8e0742ae64
I think a solution would be to add this to the documentation as expected.
This came up in the training in NY.