Details
-
Bug
-
Resolution: Incomplete
-
Major
-
None
-
None
-
None
-
Windows
-
1
Description
Summary: The exists method always returns true, even if the document doesn't exist.
Repro:
1. Write a java program, connect to cluster/bucket/collection
2. Check to see if a doc exists like so: ExistsResult result = bucket.defaultCollection().exists("doc-that-doesnt-exist");
3. Check the result object's exists() getter
Actual:
Returns true (when document doesn't exist)
Expected:
Return false
Note: I don't know for sure which Java SDK version I'm using? I just included couchbase-transactions 1.0.0 in the pom.xml and it pulls in some version of the SDK, but I don't know enough to Java to know which version it pulled in.
Attachments
Issue Links
- duplicates
-
JCBC-1587 Exists does return wrong value if executed right after remove
- Resolved