Hello, I'm running into some Mongo transaction issues. I have a cron task that queues up hundreds of delayed job records to be consumed by 2 workers. Each of those jobs may also trigger some other delayed jobs to be consumed by a different worker. (We are running 6 workers, total). The issue comes in below (see log) and crashes the worker process:
Log entry:
I, [2021-05-26T14:21:57.379990 #835] INFO -- : 2021-05-26T14:21:57-0700: [Worker(delayed_job.0 host:jobsserver.staging.webserver.com pid:835)]
Error while reserving job: Retryable write with txnNumber 11 is prohibited on session eae817b0-643f-4a5a-aacc-baae7ff9dbd9 - S8oMyTnRmLmiiib96wHuUHEe1v5gZMNm0MYQT5hrBs4= because a newer retryable write with txnNumber 406 has already started on this session. (225) (on web-staging-shard-00-00.stlfg.mongodb.net:27017, modern retry, attempt 1)
Could these be a bug?
Other system details:
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
Hello, I'm running into some Mongo transaction issues. I have a cron task that queues up hundreds of delayed job records to be consumed by 2 workers. Each of those jobs may also trigger some other delayed jobs to be consumed by a different worker. (We are running 6 workers, total). The issue comes in below (see log) and crashes the worker process:
Log entry:
Could these be a bug?
Other system details: ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]