How does a Replication/Save Conflict occur?

A replication conflict occurs when two or more users edit the same document and save the changes in different replicas between replications.

A save conflict occurs when two or more users open and edit the same document at the same time on the same server, even if they're editing different fields.

When these conditions occur, Domino stores the results of one editing session in a main document and stores the results of additional editing sessions as response documents. These response documents have the title Replication or Save Conflict.

Sometimes Lotus Notes users notice that there are conflict documents in an application and then you as a either an administrator or a developer need to find out why.

 

Create a view for Replication/Save Conflicts

For these occasions it can be a good thing to list all conflict documents in a database. This can be easily done by creating a conflict documents view.

Follow these steps:

  1. Create a view.
     
  2. Modify the default column to show some field or use a default value like @Created or whatever. This doesn't really matter, it's for you to see some difference between the documents when they are displayed in the view. Add additional columns if needed.
     
  3. Modify the view selection formula to the following:

    SELECT @IsAvailable($Conflict)
     
  4. Uncheck "Show response documents in a hierarchy" in view properties, 2nd tab
     
  5. Save and open view.


What happens in the formula above is that all documents in the database are checked if they have a field named '$Conflict'.

In this case @IsAvailable will return true and that document will be displayed in the view.

 

 

 

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.