解決項目啓動沒問題,一用到Redis就出現錯誤:MISCONF Redis is configured to save RDB snapshots--【TS項目】

拋出的錯誤信息:

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.
翻譯:
Redis被配置爲保存數據庫快照,但它目前不能持久化到硬盤。用來修改集合數據的命令不能用。請查看Redis日誌的詳細錯誤信息。


原因:

強制關閉Redis快照導致不能持久化。


解決:

在Redis命令行運行:config stop-writes-on-bgsave-error
這裏寫圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章