Enum wyrd_merge_strategy
Defined in File properties.h
Enum Documentation
-
enum wyrd_merge_strategy
Property merge strategies are essentially equivalent to differnt CRDT implementations.
It’s relatively easy merging a distributed set. Operations either add or remove an entry, etc. But merging other kinds of edits can be far more complex, and depend on the data type.
The behaviour of property is effectively specified by the combination of a wyrd_property_type and a corresponding merge strategy. Note that not all data types are compatible with all merge strategies.
Values:
-
enumerator WYRD_MS_NAIVE_OVERRIDE
The naive override strategy simply applies values in the order that edits arrive. This is almost certainly not what you want, but it is a good base for comparing other merge strategies’ behaviour.
-
enumerator WYRD_MS_NAIVE_OVERRIDE