You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm taking a look at the ORSWOT and trying to understand how it works. What doesn't quite make sense to me is this - why are multiple dots required for a single element? My first intuition was that you would only need to tag each element with a single dot for the most recent edit. If a element was a LWW register for example, when a concurrent edit is detected, we won't even bother appending each dot to the element (to have two). Instead, we'll just leave the dot present on each replica, but update the value to the more recent of the two changes. Then, the overarching version vector is updated to reflect that both replicas have merged in the other's change. In any case, I'm curious what I'm missing - why does each element need a dots() instead of just a dot() tagged against it and what goes wrong if only a single dot is used?
I'm taking a look at the ORSWOT and trying to understand how it works. What doesn't quite make sense to me is this - why are multiple dots required for a single element? My first intuition was that you would only need to tag each element with a single dot for the most recent edit. If a element was a LWW register for example, when a concurrent edit is detected, we won't even bother appending each dot to the element (to have two). Instead, we'll just leave the dot present on each replica, but update the value to the more recent of the two changes. Then, the overarching version vector is updated to reflect that both replicas have merged in the other's change. In any case, I'm curious what I'm missing - why does each element need a
dots()
instead of just adot()
tagged against it and what goes wrong if only a single dot is used?riak_dt/src/riak_dt_orswot.erl
Line 115 in c2a3e1b
The text was updated successfully, but these errors were encountered: