redis/couchbase
缓存相关
奇子君
每天进步一点
展开
-
Spring data JPA 清空 Couchbase 某个bucket中的数据
使用Spring data JPA 操作Couchbase中某个bucket,直接调用set/save/findone 接口没有问题。 但是使用findAll/deleteAll等接口操作bucket时会报如下异常: Could not load view "all" for design doc "validatedmsg"; nested exception is com.原创 2016-05-27 14:54:23 · 915 阅读 · 0 评论 -
redis集群设置密码
redis集群设置密码,各节点密码必须一致。 集群构建完毕后,登录集群各节点: redis-cli -c -h yourhost -p yourports 设置密码,依次输入命令: config set masterauth yourpassword config set requirepass yourpassword auth frank config rewrite 各节点设...原创 2019-06-24 10:49:27 · 598 阅读 · 0 评论