Cause
A timestamp less than the oldest timestamp preserved in the database was specified for a point-in-time query or rollback.
Note: If the merge timestamp is set to the default of 0 and the database has completed all merges since the last update or delete, then query statements that specify any timestamp older than the current system timestamp will throw the XDMP-OLDSTAMP
exception. The error occurs because a merge timestamp value of 0 specifies that no obsolete fragments are to be retained.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.