开发者社区> 问答> 正文

使用redis用脚本执行命令redis.call出现 unknown command EVALSH

使用redis分布式锁功能,执行命令报异常 

unknown command 'EVALSHA'

自己搭建的服务器不会有这个异常

展开
收起
220075774817448407 2018-08-27 14:04:24 2857 0
1 条回答
写回答
取消 提交回答
  • Available since 2.8.0. Time complexity: O(1) for every call. O(N) for a complete iteration, including enough command calls for the cursor to return back to 0. N is the number of elements inside the collection.. 应该要2.8.0版本以后才有用。 引用:SCAN帮助文档

    答案来源于网络

    2019-10-28 11:14:07
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Redis集群演化的心路历程——从2.x到3.0时代 立即下载
微博的Redis定制之路 立即下载
云数据库Redis版的开源之路 立即下载