Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
1
Description
If the user sets queryOptions().preserveExpiry(true) with a pre-7.1 cluster, they get a CouchbaseException with message "Unknown query error" and context that includes
[{"code":1065,"message":"Unrecognized parameter in request: preserve_expiry"}]
|
We can translate this into a more informative FeatureNotAvailable exception (like we do when the user tries to query a scope on a pre-7.0 cluster.
Suggested release note: NONE, since `queryOptions().preserveExpiry()` method was added in the same version.
Attachments
Issue Links
- relates to
-
JCBC-1876 Query - Add Support to Preserve TTL
- Closed
For Gerrit Dashboard: JVMCBC-1053 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
168860,2 | JVMCBC-1053 Throw FeatureNotAvailableException when query preserve expiry is not supported | master | couchbase-jvm-clients | Status: MERGED | +2 | +1 |