Prophet::Conflict
- Provided by: libprophet-perl (Version: 0.750-1)
- Source: prophet
- Report a bug
Take a look at a changeset. if there are any conflicts, populate the conflicting_changes array on this object with a set of Prophet::ConflictingChange objects.
Given a changeset, populates $self->conflicting_changes with all the conflicts that applying that changeset to the target replica would result in.
Given a change, generates a set of Prophet::ConflictingChange entries.
Given a change and the current state of a record, returns an array of Prophet::ConflictingPropChange objects describing conflicts which would occur if the change were applied
In order to record a changeset which might not apply cleanly to the current state of a replica, Prophet generates a nullification changeset. That is, a changeset which sets the state of the replica back to what it needs to be in order to apply the new changeset.
This routine computes a new Prophet::ChangeSet which contains everything needed to nullify the conflicting state of the replica.