Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
None
-
None
-
1
Description
public static void main(String[] args) {
|
Cluster cluster = Cluster.connect("localhost", "Administrator", "password");
|
Collection c = cluster.bucket("default").defaultCollection();
|
c.binary().increment("nonExistentDocument",
|
IncrementOptions.incrementOptions().initial(0));
|
}
|
Expected behavior: document is created with value 0.
Observed behavior: empty document is created.
Running the example program again results in a the document value being set it 1... it seems like it's only the initial counter access that results in an empty document..
Attachments
Issue Links
- is triggering
-
MB-37723 New UI displays counter document with 0 value as "empty"
- Closed