[OBM classic] Deadlock during event archival

Hi,

Has one came across below error during event archival in OBM?

please suggest. Thanks

ERROR: The database system reported an error: could not execute query -- An error occurred during the current command (Done status 0). Transaction (Process ID 165) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Parents
  • Suggested Answer

    0  

    Hello Shrikant,

    With concurrency, there is always the potential of lock conflicts and deadlocks.
    Event archival tries to delete event(s), while other parts of OBM may try to update the same event(s).

    There is not much you can do other than what the error already suggests: Rerun the transaction.

    I'm not sure if event archival does a retry or not. If it continues without erroring out, it probably does a retry, or it simply skips events that caused an error.

    If it terminates due to the deadlock, then just run the archival again.

    Best regards,
    Tobias

Reply
  • Suggested Answer

    0  

    Hello Shrikant,

    With concurrency, there is always the potential of lock conflicts and deadlocks.
    Event archival tries to delete event(s), while other parts of OBM may try to update the same event(s).

    There is not much you can do other than what the error already suggests: Rerun the transaction.

    I'm not sure if event archival does a retry or not. If it continues without erroring out, it probably does a retry, or it simply skips events that caused an error.

    If it terminates due to the deadlock, then just run the archival again.

    Best regards,
    Tobias

Children