Closed gozeloglu closed 1 year ago
Hi @swithek. Can you review the last changes?
Should we increment the version in case the item was only fetched (e.g Get
method with TTL on)? I think it would have more use cases if it was updated only when the value is modified. @swithek
I wasn't sure about that either, but I think you're right. It makes more sense if only the version of the value is tracked (i.e., no need to update the version number in touchUnsafe
).
cc @gozeloglu
Sorry for the late response and changes. I hope I understood correctly your concerns. Please have a look and let me know if something is wrong or missing.
@swithek @davseby