From 2792949c243e8b9deb2370dd430d7c571cef6488 Mon Sep 17 00:00:00 2001 From: Seungrae Kim Date: Thu, 10 Oct 2024 22:48:20 +0900 Subject: [PATCH] Fix typo in reference documentation. Closes #3018 --- src/main/antora/modules/ROOT/pages/redis/cluster.adoc | 7 +++++-- src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/redis/cluster.adoc b/src/main/antora/modules/ROOT/pages/redis/cluster.adoc index 7384ede29b..e32c781614 100644 --- a/src/main/antora/modules/ROOT/pages/redis/cluster.adoc +++ b/src/main/antora/modules/ROOT/pages/redis/cluster.adoc @@ -44,7 +44,7 @@ b8b5ee... 127.0.0.1:7382 slave 6b38bb... 0 1449730618304 25 connected < [source,java] ---- -RedisClusterConnection connection = connectionFactory.getClusterConnnection(); +RedisClusterConnection connection = connectionFactory.getClusterConnection(); connection.set("thing1", value); <5> connection.set("thing2", value); <6> @@ -88,7 +88,7 @@ redis-cli@127.0.0.1:7379 > cluster nodes [source,java] ---- -RedisClusterConnection connection = connectionFactory.getClusterConnnection(); +RedisClusterConnection connection = connectionFactory.getClusterConnection(); connection.set("thing1", value); // slot: 12182 connection.set("{thing1}.thing2", value); // slot: 12182 @@ -133,3 +133,6 @@ clusterOps.shutdown(NODE_7379); <1> <1> Shut down node at 7379 and cross fingers there is a replica in place that can take over. ==== + +NOTE: Redis Cluster pipelining is currently only supported through the Lettuce driver except for the following commands when using cross-slot keys: `rename`, `renameNX`, `sort`, `bLPop`, `bRPop`, `rPopLPush`, `bRPopLPush`, `info`, `sMove`, `sInter`, `sInterStore`, `sUnion`, `sUnionStore`, `sDiff`, `sDiffStore`. +Same-slot keys are fully supported. diff --git a/src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc b/src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc index 3726bb0680..014aadb2e7 100644 --- a/src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc +++ b/src/main/antora/modules/ROOT/pages/redis/redis-cache.adoc @@ -47,7 +47,7 @@ It is possible to opt in to the locking behavior as follows: [source,java] ---- -RedisCacheManager cacheMangager = RedisCacheManager +RedisCacheManager cacheManager = RedisCacheManager .build(RedisCacheWriter.lockingRedisCacheWriter(connectionFactory)) .cacheDefaults(RedisCacheConfiguration.defaultCacheConfig()) ...