You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are running redis on AWS in cluster mode, which is returning this redis error when it swaps master/replica:
UNBLOCKED force unblock from blocking operation, instance state changed (master -> replica?)
That is then causing an error to throw in our bullmq services, full error:
ReplyError: UNBLOCKED force unblock from blocking operation, instance state changed (master -> replica?)
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
at parseError (/code/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/code/node_modules/redis-parser/lib/parser.js:302:14) {
command: {
name: 'brpoplpush',
args: [
'bull:task:jobs:wait',
'bull:task:jobs:active',
'5'
]
}
}
It seems that this try/finally is missing a catch causing this error to bubble up, would that be correct?
The fix you made may help but we should definitely report the error to the user, and also check what happens when the error is ignored so that we for example do not end in some "infinite loop" of errors and trying again the fetch the next job, etc.
We are running redis on AWS in cluster mode, which is returning this redis error when it swaps master/replica:
That is then causing an error to throw in our bullmq services, full error:
It seems that this try/finally is missing a catch causing this error to bubble up, would that be correct?
bullmq/src/classes/worker.ts
Line 241 in 220b4f6
The text was updated successfully, but these errors were encountered: