Avoiding Replication Conflicts

Avoiding Replication Conflicts

A replication conflict occurs when the same document is edited on two or more
different replicas of a database. Suppose one person edits and saves a document
on his laptop, and meanwhile someone else edits and saves her copy of the same
document. When these people replicate, Notes has a problem, because there are
now two changed versions of the same document. Notes has no way of knowing
whether one version is the "right" one to keep, or whether they should be
combined. To avoid losing data, Notes keeps both copies and identifies the
conflict in the view with a black-gray diamond and the words "[Replication or
Save Conflict]."
To aviod this situation, "Merge Replication Conflict" should be checked in
the form properties. Again this will merge only the replication documents only
if there are changes in different fields in the document. If a single field
contains different data in the replication documents, then this has to be done
manually copying data from one to another and deleting one document.
Instead of doing this manually, a scheduled agent can be written which
checks for the replication documents.

A replication conflict document will contain a field "$conflict". Based on this
information the agent can find the documents, compare the fields and update in
a document and delete the remaining documents.

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.

    By submitting your registration information to SearchDomino.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchDomino.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

This was first published in November 2000

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.