I have two Domino servers which do a lot of replication, most of which is normal, but once in a while, changes get lost. I suspect it's a replication issue, but still haven't found the problem. One anomalous thing I found is that periodically in the log of Srv1/Acme, I see:
04/14/2021 12:38:21 PM Pulling D:\IBM\Domino\data\consumer\worksheet.nsf from Srv2/Acme Consumer\Worksheet.nsf
I have no connection documents that specify an absolute path, and other replication events between the same servers and database use a relative path. I could not find any agents that had the absolute path either. I did a text search (like you would search an ordinary text file) of all the NSFs that might be related, and found 1 occurrence in worksheet.nsf, but when I search using the All Documents view (which literally as all the documents in the database), the string is not found. The question is then, I know the string is somewhere in the 6GB of .nsf, how can I find the document or design element that has it?
UPDATE: I found the agent where it's happening, but I still don't know why. Here's the snippet of code:
Set s = New NotesSession
Set db=s.Currentdatabase
Set view=db.getview("Configuration")
Set ConfigDoc= view.Getfirstdocument
Set CAREDb=s.Getdatabase("Srv1/Acme", configdoc.careLocation(0), False)
Print "Update Locked Docs, About to replicate "
rc = caredb.Replicate("Srv2/Acme")
If rc Then
Print "Replication from " + db.filepath + " to " + caredb.Filepath + " successful."
End If
ConfigDoc.CareLocation(0) = "consumer\complaintworksheet.nsf" (the relative path.) The agent is schedule and runs on the server Srv1