3 ms·
>The integrity of a set of related keys requires that either all keys exist, or none exist. Using a Key-Value DB to store relational data eh - that never leads
by macspoofing 5y ago
>The integrity of a set of related keys requires that either all keys exist, or none exist.
Using a Key-Value DB to store relational data eh - that never leads to problems.
Their solution isn't any better because the API does not guarantee a particular order or atomicity of key expiration - so great that it works for you now[1], but next version may change the behavior.
[1] Does it work though? Are you really really sure?
- andydunstall 5y ago>The integrity of a set of related keys requires that either all keys exist, or none exist Sorry it wasent that clear that part of our fix was such that it no longer matters if all keys exist or none - we reordered the expires such that the invariants still hold even if all the keys dont still exist My understanding of expiry is - its not guaranteed when keys are expired if they are not accessed - but if a looked up keys TTL is hit it will not be returned - which is all we cared about