public interface IConflictResolver extends Serializable
An interface invoked during backward validation when a write-write conflict has been detected. The implementation must either resolve the write-write conflict by returning a new version in which the conflict is resolved or report an unresolvable conflict, in which case backward validation will force the transaction to abort.
for an excellent discussion of data type specific state-based conflict resolution, including examples for things such as bank accounts.
Resolve a write-write conflict between a committed version on the journal and the current version within a transaction that is validating.
writeSet- The view on which conflict resolver must write the resolved index entry.
txTuple- The tuple written by the transaction that is being validated.
currentTuple- The current tuple committed in the global state with which the write-write conflict exists.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.