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.
Response
Modify the query or rollback operation timestamp. For example, change the timestamp parameter passed to xdmp:eval
, xdmp:invoke
, or xdmp:spawn
.