mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Allow AUTH while loading the DB in memory.
While Redis is loading the AOF or RDB file in memory only a subset of commands are allowed. This commit adds AUTH to this subset.
This commit is contained in:
parent
1025dd7786
commit
304ef5e283
@ -209,7 +209,7 @@ struct redisCommand redisCommandTable[] = {
|
|||||||
{"pexpireat",pexpireatCommand,3,"w",0,NULL,1,1,1,0,0},
|
{"pexpireat",pexpireatCommand,3,"w",0,NULL,1,1,1,0,0},
|
||||||
{"keys",keysCommand,2,"rS",0,NULL,0,0,0,0,0},
|
{"keys",keysCommand,2,"rS",0,NULL,0,0,0,0,0},
|
||||||
{"dbsize",dbsizeCommand,1,"r",0,NULL,0,0,0,0,0},
|
{"dbsize",dbsizeCommand,1,"r",0,NULL,0,0,0,0,0},
|
||||||
{"auth",authCommand,2,"rs",0,NULL,0,0,0,0,0},
|
{"auth",authCommand,2,"rsl",0,NULL,0,0,0,0,0},
|
||||||
{"ping",pingCommand,1,"r",0,NULL,0,0,0,0,0},
|
{"ping",pingCommand,1,"r",0,NULL,0,0,0,0,0},
|
||||||
{"echo",echoCommand,2,"r",0,NULL,0,0,0,0,0},
|
{"echo",echoCommand,2,"r",0,NULL,0,0,0,0,0},
|
||||||
{"save",saveCommand,1,"ars",0,NULL,0,0,0,0,0},
|
{"save",saveCommand,1,"ars",0,NULL,0,0,0,0,0},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user