MISCONF Redis is configured to save RDB snapshots

今天項目接口開發過程中,在環境進行接口測試時,發現聯調環境的redis似乎出了問題,報redis快照不能持久化,如下:
這裏寫圖片描述

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.

解決方法:
ccltest4-redis%./redis-cli
127.0.0.1:6379> config set stop-writes-on-bgsave-error no
OK
127.0.0.1:6379> lpush myColour "red"
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章