Counter does not behave as expected for document creation.
Description
When doing a counter operation with a 0 initial, the created document's value is UINT64_MAX.
Environment
None
Gerrit Reviews
None
Release Notes Description
None
Activity
Show:
Brett Lawson March 21, 2016 at 8:47 PM
This issue has been fixed. The fix has also neccessitated a change to the behaviour of the method such that 0 values indicate to create the document with a value of 0, to avoid creating the document if it is missing, an initial value of -1 should be passed.
Fixed
Pinned fields
Click on the next to a field label to start pinning.
When doing a counter operation with a 0 initial, the created document's value is UINT64_MAX.