We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With the introduction of #2144 discovery service connections no longer work as the Discovery service does not support the SENTINEL REPLICAS command
SENTINEL REPLICAS
Connection fails before bing established, because the SentinelTopologyProvider attempts to execute SENTINEL REPLICAS
SentinelTopologyProvider
Caused by: io.lettuce.core.RedisCommandExecutionException: ERR unknown command at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:147) at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:116) ... 21 common frames omitted``` </details> #### Input Code <details> <summary>Input Code</summary> ```java RedisURI sentinelUri = RedisURI.Builder .sentinel(ENV0_SENTINEL, 8001, MASTER_ID) .withAuthentication(SENTINEL_USERNAME, SENTNEL_PASSWORD) .build(); RedisClient client = RedisClient.create(); StatefulRedisMasterReplicaConnection<String, String> connection = MasterReplica.connect( client, StringCodec.UTF8, sentinelUri); connection.setReadFrom(ReadFrom.REPLICA); connection.sync().get("key"); connection.close(); client.shutdown();
Establish connection successfully.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
With the introduction of #2144 discovery service connections no longer work as the Discovery service does not support the
SENTINEL REPLICAS
commandCurrent Behavior
Connection fails before bing established, because the
SentinelTopologyProvider
attempts to executeSENTINEL REPLICAS
Stack trace
Expected behavior/code
Establish connection successfully.
Environment
The text was updated successfully, but these errors were encountered: