随笔分类 - redis
redis
摘要:Java 操作 Redis 的库有两个,Jedis 和 Lettuce,目前 SpringBoot 2.x 中已经将 Jedis 换成了 Lettuce 原因:Lettuce的连接redis太久没有操作,被强制关闭连接。 可以在spring-boot-starter-data-redis 查看是引用
阅读全文
摘要:原因数据数据损坏。需要修复 1、检测 redis-cli --cluster check 127.0.0.1:7000 2、检测结果 slots are covered by nodes3、进行修复 redis-cli --cluster fix 127.0.0.1:7000
阅读全文
摘要:DENIED Redis is running in protected mode because protected mode is enabled redisson连接错误 Unable to init enough connections amount Only 23 from 32 were
阅读全文
摘要:DENIED Redis is running in protected mode because protected mode is enabled, no bind address was specified, no authentication password is requested to
阅读全文
摘要:解压后的文件: redis.windows.conf 配置文件 redis-cli.exe 客户端 redis-server.exe: 服务器端 数据结构: 1、字符串类型: string 2、哈希类型:hash(map格式:hashmap) 3、列表:list(linkedlist格式) 4、集合
阅读全文