Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-1437

CollectionManager.updateCollection cannot clear max expiry

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.5.1
    • 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.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty