Re:Is Redlock Safe? Reply to Redlock Analysis
by querulous on Tuesday February 09, 2016 @11:24PM
(#11070758)
if your tokens come from a linearizable source (like zookeeper) you can do a compare-and-set to mutate state safely. you read the state, perform your mutations on it, then in an atomic transaction read the state again and if it is the same as the initial state save your new state. if your fencing token is the highest yet seen the service uses your state as the authorative state. if it's not it rejects the change
[ Parent
| on HN ]
There are no comments on this comment yet.