You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
我是用spring data redis 客户端发现这个问题的, 配置master 和 slave时发现的
io.lettuce.core.RedisCommandExecutionException: Err unknown or unsupported command 'role' at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:135) ~[lettuce-core-5.1.8.RELEASE.jar!/:na] at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:108) ~[lettuce-core-5.1.8.RELEASE.jar!/:na] at io.lettuce.core.RedisPublisher$SubscriptionCommand.complete(RedisPublisher.java:751) ~[lettuce-core-5.1.8.RELEASE.jar!/:na]
我是用spring data redis 客户端发现这个问题的, 配置master 和 slave时发现的
io.lettuce.core.RedisCommandExecutionException: Err unknown or unsupported command 'role' at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:135) ~[lettuce-core-5.1.8.RELEASE.jar!/:na] at io.lettuce.core.ExceptionFactory.createExecutionException(ExceptionFactory.java:108) ~[lettuce-core-5.1.8.RELEASE.jar!/:na] at io.lettuce.core.RedisPublisher$SubscriptionCommand.complete(RedisPublisher.java:751) ~[lettuce-core-5.1.8.RELEASE.jar!/:na]
` LettuceClientConfiguration clientConfig = LettuceClientConfiguration.builder()
.readFrom(ReadFrom.SLAVE_PREFERRED)
.build();
The text was updated successfully, but these errors were encountered: