Uploaded image for project: 'Couchbase node.js Client Library'
  1. Couchbase node.js Client Library
  2. JSCBC-242

Document Expiration - for very long expiration e.g. year 4000+ document is dropped or not even saved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.1.3
    • None
    • None
    • Security Level: Public
    • None

    Description

      http://docs.couchbase.com/developer/dev-guide-3.0/doc-expiration.html describes how the document expiration should be set for values below and above 30 days.

      First comment: it is confusing to think about different value assigned to the same property, e.g. sec vs. unix time.

      Second comment: due to bug in custom code using node.js sdk the expiration for 1 year time-frame was miss-computed into the far future e.g. year 4000+.
      The save action resulted in no error, but fetch action resulted in document not found.

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            vkhazin vkhazin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty