Redisson 3.51.0 版本发布
Redisson 3.51.0 现已发布,这是一个 Java 编写的 Redis 客户端,具备驻内存数据网格(In-Memory Data Grid)功能,并获得了 Redis 的官方推荐。
此版本更新内容如下:
Feature
- 添加 RBitSet.diff()、diffInverse()、andOr()、setExclusive() 方法
- 添加了 FieldIndex.svsVamanaVector() 向量索引添加
- 为集群模式添加了 checkMasterLinkStatus 设置
- 添加了支持 auth 的 RKeys.migrate() 方法
- 为 RStream.trim() 方法添加了 KEEPREF、DELREF 和 ACKED 选项支持
- 在 RStream.add() 方法中添加了对 KEEPREF、DELREF 和 ACKED 选项的支持
- 在多集群 primaryDiscoveryMode 设置中添加了新的 FIRST_PRIMARY_PUBSUB_NOTIFICATION 模式
- 添加了新的 metrics "responsies.busy"、"responsies.wait"、"responsies.tryagain"、"responsies.loading"、"responsies.ask "和 "responsies.moved"。
Improvement
- AbstractCacheMap.removeExpiredEntries() 方法优化
- TransactionOptions 中添加了 equals/hashcode 实现
- 如果主机名无法解析,集群管理器使用 IP
- RStream.range()、RStream.rangeReversed() 和 RStream.listPending() 方法的新 API
Fixed
- RReliableQueue 消息达到交付限制后不会被移除并移至 deadLetterQueue
- 如果在 RReliableQueue 队列配置中定义,则可见性设置不会被应用
- 如果将许可证密钥定义为 JVM 选项,则无法读取
- RClusteredLocalCachedMapCache. putIfAbsent() 方法发送错误的本地缓存更新日期
- RLocalCachedMapCacheV2.fastPutIfExists() 方法不起作用
- SyncStrategy.UPDATE 对 RLocalCachedJsonStore 不起作用
- RClusteredLocalCachedMap.putIfAbsent() 和 fastPutIfAbsent() 方法在 storeCacheMiss = true 时不更新本地缓存
- RClusteredLocalCachedMap.putIfExists() 方法在 storeCacheMiss = true 时不更新本地缓存。putIfExists() 方法在 storeCacheMiss = true 时不更新本地缓存
- RClusteredLocalCachedMapCache.putIfExists() 和 putIfAbsent() 方法在 storeCacheMiss = true 时不更新本地缓存
- 如果 storeCacheMiss = true,RClusteredLocalCachedMapCache.fastPutIfExists()、putIfExists()、putIfAbsent() 和 fastPutIfAbsent() 方法不会更新本地缓存
- RClusteredLocalCachedMapCacheNative.fastPutIfExists(), putIfExists(), putIfAbsent() 和 fastPutIfAbsent() 方法在 storeCacheMiss = true 时不更新本地缓存
- RReliableQueue. get(Codec, String) 方法不起作用
- 多集群模式无法检测失败的集群
- 在集群模式下连接时日志中打印为空
- RBitSet.and()、not()、or()、xor() 方法返回 void 而非数字
- ……
更多详情可查看:https://github.com/redisson/redisson/releases/tag/redisson-3.51.0
为您推荐相关文章:
同类文章推荐: