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

[Collections] Expose API to set the collections TTL

    XMLWordPrintable

Details

    • 1

    Description

      Expose APIs through REST/SDKs to set collection TTL value during collection creation and updating it afterwards.

      Attachments

        Issue Links

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

          Activity

            ashwin.govindarajulu Ashwin Govindarajulu created issue -
            ritam.sharma Ritam Sharma made changes -
            Field Original Value New Value
            Priority Major [ 3 ] Critical [ 2 ]
            owend Daniel Owen added a comment -

            Hi Ashwin Govindarajulu,

            Should this ticket be for the sdks? and ns_server for the REST interface?
            Or is there work to be done in KV to support this.

            thanks

            owend Daniel Owen added a comment - Hi Ashwin Govindarajulu , Should this ticket be for the sdks? and ns_server for the REST interface? Or is there work to be done in KV to support this. thanks
            owend Daniel Owen made changes -
            Assignee Daniel Owen [ owend ] Ashwin Govindarajulu [ ashwin.govindarajulu ]

            Daniel Owen, with reference to MB-30487, found the REST API for creating collections with maxTTL,

             

            #] curl -X POST 10.112.191.101:8091/pools/default/buckets/default/collections/_default -u Administrator:password -d name=col_1 -d maxttl=100
            {"uid":"1"}

            Also for modifying the maxTTL for existing collection, there is ticket already open - MB-31806.

            So we can close this bug.

            Thanks,

            Ashwin

             

            ashwin.govindarajulu Ashwin Govindarajulu added a comment - Daniel Owen , with reference to MB-30487 , found the REST API for creating collections with maxTTL,   #] curl -X POST 10.112.191.101:8091/pools/default/buckets/default/collections/_default -u Administrator:password -d name=col_1 -d maxttl=100 {"uid":"1"} Also for modifying the maxTTL for existing collection, there is ticket already open - MB-31806 . So we can close this bug. Thanks, Ashwin  
            ashwin.govindarajulu Ashwin Govindarajulu made changes -
            Component/s Core [ 10140 ]
            Component/s couchbase-bucket [ 10173 ]
            Fix Version/s 3.0.3 [ 16750 ]
            Fix Version/s Cheshire-Cat [ 15915 ]
            Is this a Regression? No [ 10451 ]
            Key MB-38120 JCBC-1603
            Sprint Status Current Sprint [ 10027 ]
            Triage Untriaged [ 10351 ]
            Affects Version/s 3.0.1 [ 16651 ]
            Affects Version/s Cheshire-Cat [ 15915 ]
            Workflow classic default workflow [ 162303 ] Couchbase SDK Workflow [ 162451 ]
            Issue Type Bug [ 1 ] New Feature [ 2 ]
            Project Couchbase Server [ 10010 ] Couchbase Java Client [ 10080 ]

            As discussed with Shivani Gupta  and Brett Lawson, reassigning this ticket to SDK team for updating SDK RFCs and implementing the APIs in Java client.

            ashwin.govindarajulu Ashwin Govindarajulu added a comment - As discussed with Shivani Gupta   and Brett Lawson , reassigning this ticket to SDK team for updating SDK RFCs and implementing the APIs in Java client.
            ashwin.govindarajulu Ashwin Govindarajulu made changes -
            Assignee Ashwin Govindarajulu [ ashwin.govindarajulu ] Brett Lawson [ brett19 ]
            raju Raju Suravarjjala made changes -
            Labels collections functional-test affects-cc-testing collections functional-test
            arunkumar Arunkumar Senthilnathan made changes -
            Labels affects-cc-testing collections functional-test collections functional-test
            daschl Michael Nitschinger made changes -
            Link This issue is duplicated by JCBC-1606 [ JCBC-1606 ]
            daschl Michael Nitschinger made changes -
            Fix Version/s 3.1.0 [ 16653 ]
            daschl Michael Nitschinger made changes -
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            daschl Michael Nitschinger added a comment - Implemented in the java client as per https://github.com/couchbase/couchbase-jvm-clients/commit/50f98c3c6f0f347e8f4e3f14013882648fe7f8e7
            brett19 Brett Lawson made changes -
            Story Points 1

            People

              brett19 Brett Lawson
              ashwin.govindarajulu Ashwin Govindarajulu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty