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

INCR/DECR API breakage

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.0
    • 5.0.0
    • memcached
    • None
    • Untriaged
    • Yes

    Description

      Steps to reproduce

      1. Create a counter

        cbc-incr -Ucouchbase://localhost/default id --initial 0 --delta 1 -e 600 -u Administrator -P password
        

      1. Note the expiry in the UI
      2. Update the counter

        cbc-incr -Ucouchbase://localhost/default id --initial 5 --delta 1 -e 600 -u Administrator -P password
        

      3. Note the expiry in the UI

      Problem

      The expiry should not have changed on update. In previous versions of Couchbase Server the TTL for incur/decur operations is only set when the counter was created and not when it was updated.

      Expectation
      For Spock to behaviour like previous versions of Couchbase Server

      Attachments

        Issue Links

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

          Activity

            People

              trond Trond Norbye
              pvarley Patrick Varley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty