Loading TOC...

XDMP-CONFLICTINGUPDATES

Message Text

Conflicting updates variable1 and variable2

Cause

The application attempted to perform multiple updates to the same document within the same transaction.

A single statement may not perform more than one update to the same document. For example, you cannot update a node and add a child element to that node in the same statement.

Response

Revise your application code to perform the conflicting operations in two separate statements. For example, use the semicolon transaction delimiter, or execute the second update inside an xdmp:eval with the isolation option set to different-transaction.

For more information, see Understanding Transactions in MarkLogic Server in the Application Developer's Guide.

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.