Subject: Annoying replication conflict problem
In 90% of the cases, replication conflicts occurs because the database wasn’t properly “thought” and designed to make sure 2 people aren’t modifing the same document (and specifically the same fields) at the same moments.
Think about it:
In most cases, Notes is used to handle workflow (a document is modified by a chain of people, one after another) or certain sections of a document are modified by certain people with a given right and a different section by someone else, etc.
It is very rare that you have a situation where a document will be modified by 2 different people within the same replication slice. If you tell me that the servers are even replicating at as low as every 15 minutes - this should be VERY rare.
If it is not, then it probably means:
a) an agent was scheduled to run on the backend, modifying ALL the documents over and over, thus causing a conflict EACH time a user makes a modification on a different server than the server running the agent
(if you have agents running, make sure they ONLY run centrally on ONE single server, and ideally, during night time).
or
b) the design of the application was not thought properly - try splitting the info between various sections or even different documents, so that you know, in the work process, that they aren’t SUPPOSED to be modified by 2 people at the same approximate time.
Record locking is a neat feature in theory, but in pratice it means it can cause a lot of side effects: a document may become UNMODIFIABLE because someone else on a different replica has locked it and never unlocked it after (a local user for instance, who goes out travelling) - and it should only be used, IMHO, when you have a unique central source of information that should only be modified at one place.
These cases are quite rare in a Notes model because, after all, Notes is primarly used to manage knowledge, not to manage financial data or stock control.
Good luck!
Nicolas Abesdris / PCLP
Quintessence e-solutions Inc.