Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1004

AsyncMutateInBuilder withExpiry does not behave according to documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.4
    • 2.3.3
    • Documentation
    • None

    Description

      https://github.com/couchbase/couchbase-java-client/blob/5eb1fb793354734dac959e1f619b6d15a24f214a/src/main/java/com/couchbase/client/java/subdoc/AsyncMutateInBuilder.java#L347

      The API documentation for withExpiry() in AsyncMutateInBuilder states that setting expiry to 0 will avoid changing the TTL on the document. In actuality, setting expiry to 0 will reset the TTL to 0.

      Attachments

        For Gerrit Dashboard: JCBC-1004
        # Subject Branch Project Status CR V

        Activity

          People

            daschl Michael Nitschinger
            dproctor Dean Proctor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty