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
Using sentinel, unfulfilled commands are resent before the database has been reselected, causing them to run against the wrong database. This is reproducible with the following code, killing the master before the command has completed:
The unfulfilled BLPOP command is executed before the correct database is reselected. Expected behavior is for the correct database to be selected before running the command.
The code responsible for this behavior appears to be in event_handler.js. The correct database is selected for items in offlineQueue (when necessary), but not for items in prevCommandQueue.
The text was updated successfully, but these errors were encountered:
Using sentinel, unfulfilled commands are resent before the database has been reselected, causing them to run against the wrong database. This is reproducible with the following code, killing the master before the command has completed:
The output of MONITOR shows the following:
The unfulfilled BLPOP command is executed before the correct database is reselected. Expected behavior is for the correct database to be selected before running the command.
The code responsible for this behavior appears to be in
event_handler.js
. The correct database is selected for items inofflineQueue
(when necessary), but not for items inprevCommandQueue
.The text was updated successfully, but these errors were encountered: