This morning I was stumbling upon a very interesting issueÂ in Lotus Notes/Domino that involved truncated documents on a server replica. ThisÂ is an issue as the database on the server is the only one, besides a number of local replicas on laptops.
A bit of research on the web unveiled that Almar DielÂ has encountered a similar problem, which pointed me towards the right solution.
In order to get theÂ full documents backÂ onto the server replica IÂ had to find the laptop that was holding the replica with the corrupt replication formula as this had to beÂ cleared out as described in workaround option 2 of this IBMÂ technote.
This will ensure that all documents replicated from now on would not be appearing as truncated documents anymore on the server. In order to fix the existingÂ truncated documents though, IÂ had toÂ remove the documents from the serverÂ replica without leaving deletion stubs. This can easily be achieved in utilising Julian Robichaux’ stub-less delete function documented here. Clearing out the replication history of the local database and issuing a new replicationÂ did make the documents re-appearing on the server replica in there entirety.
Thanks to Almar and Julian for documenting your solutions!