diff --git a/src/commands/cmd_server.cc b/src/commands/cmd_server.cc index 725b28d0cdf..54c22980dd6 100644 --- a/src/commands/cmd_server.cc +++ b/src/commands/cmd_server.cc @@ -1352,8 +1352,8 @@ REDIS_REGISTER_COMMANDS(Server, MakeCmdAttr("auth", 2, "read-only o MakeCmdAttr("command", -1, "read-only", NO_KEY), MakeCmdAttr("echo", 2, "read-only", NO_KEY), MakeCmdAttr("time", 1, "read-only ok-loading", NO_KEY), - MakeCmdAttr("disk", 3, "read-only", NO_KEY), - MakeCmdAttr("memory", 3, "read-only", NO_KEY), + MakeCmdAttr("disk", 3, "read-only", 2, 2, 1), + MakeCmdAttr("memory", 3, "read-only", 2, 2, 1), MakeCmdAttr("hello", -1, "read-only ok-loading", NO_KEY), MakeCmdAttr("restore", -4, "write", 1, 1, 1), @@ -1366,6 +1366,6 @@ REDIS_REGISTER_COMMANDS(Server, MakeCmdAttr("auth", 2, "read-only o MakeCmdAttr("rdb", -3, "write exclusive", NO_KEY), MakeCmdAttr("reset", 1, "ok-loading multi no-script pub-sub", NO_KEY), MakeCmdAttr("applybatch", -2, "write no-multi", NO_KEY), - MakeCmdAttr("dump", 2, "read-only", NO_KEY), + MakeCmdAttr("dump", 2, "read-only", 1, 1, 1), MakeCmdAttr("pollupdates", -2, "read-only", NO_KEY), ) } // namespace redis