What does this error message mean? "oldest pinned transaction ID rolled back for eviction"

Hi,

We have a service that deletes old data every night, some have cascade delete, for instance order/orderlines relation.

Then i got this error message last night:
“Caused by :: -31800: oldest pinned transaction ID rolled back for eviction :: Please retry your operation or multi-document transaction.”

Seems like an error related to Mongo DB write conflict with “multi-document transaction” however this is solely deletes using data connectors.

Any help decifering what happens would be nice :slight_smile:

Hi!

This can happen in cases where the filter is returning too many objects. A way to decipher it could be to make your filter condition more specific to reduce the number of matching objects and see if the error persists.

Let us know how this goes.

1 Like

Thank you! It worked :slight_smile:

1 Like