Introducing conflict resolution strategies for Ontology user edits and datasource updates [GA]
Object instances in the Foundry Ontology can be created and modified by both input datasources and user edits. When a single object instance, such as a row or object with a specific primary key value, receives data from both the input datasource and user edits, these received values must be transparently resolved with a conflict resolution strategy.
You can configure conflict resolution strategies at the object type level. Select an object type in Ontology Manager and navigate to the Datasources section.
Note that conflict resolution strategies are only supported for Object Storage V2 object types.
Conflict resolution strategies
There are two conflict resolution strategies for Ontology edits:
-
Apply user edits (default): With this strategy, the final state of an object instance is always determined by the user edits applied to it, regardless of any future datasource updates for the given object instance.
-
Apply most recent value (limited beta): With this strategy, user edits are only applied if the timestamp value of the user edit is more recent than the timestamp value of the datasource update for the given object instance.
This strategy also requires that the datasource contains a property with the Timestamp type; the Date property type will not work for this option. The Timestamp property is used to evaluate whether a user edit or input datasource update should be applied.
Configure conflict resolution strategies in Ontology Manager
Configure different resolution strategies for multiple datasources
You can configure different conflict resolution strategies for each input datasource of the object type. For example, for an object type backed by two datasources, you can configure one datasource to use the Apply user edits strategy and the other datasource to use the Apply most recent value strategy.
Configure conflict resolution strategies for multiple datasources in Ontology Manager
If a user edit updates properties across multiple datasources, Ontology Manager will determine whether to always apply or conditionally apply the edits using the conflict resolution strategy of the datasource that backs the property.