Skip to content

Auth not allowed when server is frozen #708

Closed
za-creature opened this Issue Oct 11, 2012 · 1 comment

2 participants

@za-creature

Self explanatory:

$ redis-cli
redis 127.0.0.1:6379> auth mypassword
(error) BUSY Redis is busy running a script. You can only call SCRIPT KILL or SHUTDOWN NOSAVE.
redis 127.0.0.1:6379> shutdown nosave
(error) ERR operation not permitted
redis 127.0.0.1:6379> script kill
(error) ERR operation not permitted

@antirez antirez added a commit that referenced this issue Oct 11, 2012
@antirez Allow AUTH when Redis is busy because of timedout Lua script.
If the server is password protected we need to accept AUTH when there is
a server busy (-BUSY) condition, otherwise it will be impossible to send
SHUTDOWN NOSAVE or SCRIPT KILL.

This fixes issue #708.
be6cbd3
@antirez antirez added a commit that referenced this issue Oct 11, 2012
@antirez Allow AUTH when Redis is busy because of timedout Lua script.
If the server is password protected we need to accept AUTH when there is
a server busy (-BUSY) condition, otherwise it will be impossible to send
SHUTDOWN NOSAVE or SCRIPT KILL.

This fixes issue #708.
0e25c0c
@antirez
Owner
antirez commented Oct 11, 2012

Thanks, fixed.

@antirez antirez closed this Oct 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.