Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-32022

Collections: Create a collection with max_ttl

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Major
    • 6.5.0
    • master
    • ns_server
    • None

    Description

      MB-30487 is now closed - this MB updated the Collections manifest JSON so that we can create a collection and accept "max_ttl":n in the collection entry.

      We should update the REST API so that we can create collections with an optional max_ttl

      Example JSON config showing collection with and without max_ttl

      {
        "uid": "0",
        "scopes": [
          {
            "name": "_default",
            "uid": "0",
            "collections": [
              {
                "name": "_default",
                "uid": "0"
              },
              {
                "name": "fruit",
                "uid": "9",
                "max_ttl": 7776000
              },
              {
                "name": "vegetable",
                "uid": "a"
              }
            ]
          }
        ]
      }
      

      Attachments

        Issue Links

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

          Activity

            People

              artem Artem Stemkovski
              jwalker Jim Walker
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty