Description
Steps to reproduce
- Create a counter
cbc-incr -Ucouchbase://localhost/default id --initial 0 --delta 1 -e 600 -u Administrator -P password
- Note the expiry in the UI
- Update the counter
cbc-incr -Ucouchbase://localhost/default id --initial 5 --delta 1 -e 600 -u Administrator -P password
- 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
- is duplicated by
-
MB-25137 Subdoc $document.exptime returns invalid time
- Closed