我正在尝试调试一些我所遇到的Redis问题,发现了一些关于SET命令的不确定文档。
在我的Redis配置中,我有以下行(片段):
有关于明确行为的任何见解吗?
# Note: with all the kind of policies, Redis will return an error on write
# operations, when there are not suitable keys for eviction.
#
# At the date of writing this commands are: set setnx setex append
在SET 命令的文档页面上,我找到了以下内容:
Status code reply: always OK since SET can't fail.
有关于明确行为的任何见解吗?