Message Text
Timestamp too new for forest variable1 (variable2)
Cause
When a transaction commits, it advances the commit timestamp. After the transaction commits and advances the commit timestamp, however, any queries running at the advanced commit timestamp wait for all transactions with earlier timestamps to commit, during which time they will get this exception.
Response
XDMP-NEWSTAMP
is a retryable exception, so retrying the query is appropriate after this exception. You can retry after the App Server request timeout
is reached (the default is 30 seconds) until the Group retry timeout
is reached (the default is 180 seconds). If you have an XCC application that uses DocInsertStream, you should automatically handle and retry the insert; that is, if you get a retryable exception when using DocInsertStream, you should try the operation again, not treat the exception as an error.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.