Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
None
Description
String id = "my-document";
collection.upsert(id, JsonObject.create().put("initial", true));
GetResult found = collection.get(id);
JsonObject content = found.contentAsObject();
content.put("modified", true).put("initial", false);
while (true) {
try
catch (CasMismatchException ex)
{ // don't do anything, we'll retry the loop }}
The documentation says I should try – No matter how many times you try this it is going to be the same right?
Reporter: M N
E-mail: maheshvasn@gmail.com