Update item without modifying the expiry


Is there a way to update the item in couchbase without altering its expiration time? I am using Java SDK and Couchbase 3


This is not possible because the underlying protocol doesn’t support it. The closest you can get if your timeouts are longer is to use a view or n1ql to grab the TTL for the document and then store it again with that value. That of course has some issues if your TTLs are very small.