In Marklogic-9
we did a Database Restore
(the configurations of the source and target DBs were the same) and upon completion, while doing some read transaction
got XDMP-DBDUPURI
.
After referring the scripts of the Repairing Duplicate Uris section of understanding-xdmp-dbdupuri-exceptions-how-they-can-occur-and-how-to-prevent-them, found that the document (for the concerned URI
) was inserted in one Forest
and its Properties
into another.
Now the question is how this happened and is there a way to prevent it?