Skip to content

DATAREDIS1142 - getReactiveConnection fallback to getReactiveClusterC… #529

New issue

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

Closed

Conversation

andreacomo
Copy link
Contributor

This patch fixes Jira DATAREDIS-1142, when ReactiveRedisTemplate is connected to a Redis Cluster

christophstrobl pushed a commit that referenced this pull request May 12, 2020
christophstrobl pushed a commit that referenced this pull request May 12, 2020
@christophstrobl
Copy link
Member

thank you @andreacomo!
Merged to master and back ported to 2.2.x.

@kdhindsa
Copy link

Hello, is this fix still valid if we don't use Reactive. I am simply using the configuration to store oauth sessions in Redis via the following config:

spring.session.store-type=redis spring.redis.host=redis-host spring.redis.password=redis-password spring.redis.port=6380 spring.redis.ssl=true

And my relevant build.gradle dependencies are:

compile 'org.springframework.data:spring-boot-starter-data-redis:2.3.0.RELEASE'

I am still facing the error:

Caused by: redis.clients.jedis.exceptions.JedisDataException: CROSSSLOT Keys in request don't hash to the same slot at redis.clients.jedis.Protocol.processError(Protocol.java:127) ~[jedis-2.9.0.jar:na]

@derTobsch
Copy link

Hey @kdhindsa, this issue is closed and maybe spring-projects/spring-session#1646 this is the same issue that you see?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants