Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-702

Add note to "About document expiration" regarding SDK differences in TTL format

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Major
    • None
    • None
    • documentation
    • None

    Description

      There has been some confusion regarding the general server documentation for handling TTL and how the actual SDK's handling TTL:
      http://docs.couchbase.com/developer/dev-guide-3.0/doc-expiration.html

      The .NET SDK either takes a unsigned int or a TimeSpan; if it's an unsigned int it expects the value to be in milliseconds. Can we make a note on this page that the actual SDK documentation takes precedence here?

      Also, the some of the SDK's themselves handle the translation logic defined by the page (at least the .NET and Java I believe); so if your using an official SDK, you don't have to worry about the Unix conversion or the < 30 days or > 30 days bits.

      Attachments

        Issue Links

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

          Activity

            People

              akurtzman Amy Kurtzman (Inactive)
              jmorris Jeff Morris
              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