Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
0
Description
Suggested Release note:
With Couchbase Server versions that support updating a collection's max expiry, it's now possible to clear the expiry by passing `Duration.ZERO` for the new value.
Once a collection has a maxTTL, the expiry cannot be unset using the JVM SDK management API, because ClassicCoreCollectionManagerOps.applySettingsToForm omits the `maxTTL` parameter if it would be zero.
In order to clear the maxTTL, the client must pass zero.