在刪除一個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用戶權限不夠,或者空間已經(jīng)滿了