在删除一个key时提示错误,提示如下:
(error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error.
解决办法运行命令:
# 后台存储错误停止写。
config set stop-writes-on-bgsave-error no
存储错误,可能运行redis用户权限不够,或者空间已经满了
网友评论