This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 151
Moped doesn't retry errors that suggest retrying the transaction #364
Comments
Here's more detail:
|
Would it make sense to create a LockFailure (or LockGrantFailure) that extends from MongoError or DoNotDisconnect? Where and what mechanism would retry things? Would it be the Moped::Failover::Retry strategy? Or would it be better to handle this downstream? (Seems like it should, at least, get a more specific Exception besides OperationFailure.) |
I'd like this one too... Just switched to TokuMX as well, and it's the only errors I got after the transitions. Just retrying works most of the times, should be in moped... |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This is using TokuMX as the engine and DelayedJob. TokuMX has document-level locking which sometimes results in lock timeouts. This is error 16759 "Lock not granted. Try restarting the transaction." However, this error kills the process it seems.
It should be retried, as suggested in the error.
The text was updated successfully, but these errors were encountered: