Is it possible to know if document X has replicated from the server where it was received, server A, to another server, server B? How?
THANKS!
Is it possible to know if document X has replicated from the server where it was received, server A, to another server, server B? How?
THANKS!
Subject: Of course.
Since you know what document you want to check, you can get the UNID of the document in database A and then se the GetDocumentByUNID method of the NotesDatabase class to locate the replicated document in database B.If the method returns Nothing, it has not replicated. If it replicated, the method returns a NotesDocument object for the document.
Subject: Is it possible to know if a document replicated from A to B?
Thanks. If the document is in both databases is very easy to do it, for example like you mention. The problem is that the document can not be found on the replica, so I need a way to know if it had replicated.
Subject: ???
If it is not in the replica, it has not replicated. It’s as simple as that.
Doc in database A and database B = has replicated
Doc in database A but not in database B = has not replicated
Something like this:
Set docA = col.GetFirstDocument
Do Until docA Is Nothing
Set docB = dbB.GetDocumentByUNID(docA.UniversalID)
If docB is Nothing Then
MsgBox “Document " & docA.UniversalID & " did not replicate yet.”
End If
Set docA = col.GetNextDocument(doc)
Loop
Subject: some clarification then…
Is not as simple. We have a third party tool that through pop3 “extracts” and then deletes the emails on server B. Let me explain.
Emails get to inbox1 in serverA. ServerA replicates inbox1 to serverB. Tool pop3s to inbox1 replica in serverB and then deletes the mails.
Problem is that some email are not shown on the 3rd party tool and the provider says it is because they are not being replicated to serverB, but I don’t believe them.
Subject: Replication
It would have been very helpful if you would have shared those details in your initial post.Your question becomes a totally different one than.
What about adding Log_Replication to notes.ini(for example at level 3) to see if that what is being replicated?
http://www-12.lotus.com/ldd/doc/domino_notes/7.0/help7_admin.nsf/0/cf44bd216f85e8b18525706f006600c9
I also suggest you take a look at this link:
Subject: Thanks about the Log_Replication value.
When I wrote the question, it seemed obvious to me that if I have access to both replicas, I can do a simple search if the documents are still there to verify.
Subject: Excactly.
And that is what I answered on my first comment.If you have access to both replicas, and know the UNID (or other unique identifying value) of the document, you can do a search or lookup in both databases and see if the documents are there.