We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
环境信息:
描述错误 关于scan操作导致的异常
截图 当前redis值设置操作存在一分钟过期时间
进行sacn操作
出现异常
补充描述 由于SCAN操作是基于游标的迭代操作,它需要进行多次迭代来获取所有匹配的键。当redis键过期的时候进行迭代操作会出现游标为空,然后在尝试继续迭代时触发此错误。
The text was updated successfully, but these errors were encountered:
可以尝试把scan的操作去掉。本来循环全部的key就不被推荐。
Sorry, something went wrong.
这个后面新版优化下吧,尽量精确查找不使用scan
No branches or pull requests
环境信息:
描述错误
关于scan操作导致的异常
截图

当前redis值设置操作存在一分钟过期时间
进行sacn操作


出现异常

补充描述
由于SCAN操作是基于游标的迭代操作,它需要进行多次迭代来获取所有匹配的键。当redis键过期的时候进行迭代操作会出现游标为空,然后在尝试继续迭代时触发此错误。
The text was updated successfully, but these errors were encountered: