Details
-
Improvement
-
Resolution: Fixed
-
Major
-
4.0.0, 6.0.0
-
Security Level: Public
Description
The background for this ask is MB-15950
Currently, N1QL DML commands (update, upsert) will reset the expiration of a document because there is no way to get the expiration using the current memcached API. The goal is not to reset expiration, and this MB is asking for the best way to support that goal using the memcached API.
Suggestions:
- Provide a GET_WITH_META op that returns a document and all its metadata (including expiration)
- Change existing memcached update ops to not reset expiration (appreciate this could be a breaking change)
- Provide memcached update ops that do not reset expiration
- Others?