---
name: "Prophet::Conflict"
section: "3pm"
platform: "linux"
package: "libprophet-perl"
version: "0.743-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/Prophet::Conflict"
---

# Prophet::Conflict(3pm)

### analyze\_changeset Prophet::ChangeSet

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.

### generate\_changeset\_conflicts

Given a changeset, populates `$self`-\>conflicting\_changes with all the conflicts that applying that changeset to the target replica would result in.

### \_generate\_change\_conflicts Prophet::Change

Given a change, generates a set of Prophet::ConflictingChange entries.

### \_generate\_prop\_change\_conflicts Prophet::Change %hash\_of\_current\_properties

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

### generate\_nullification\_changeset

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.
