Skip to content

Conversation

@yangbodong22011
Copy link
Contributor

This PR solves #2504 #2550, when renewSlotCache, we also remove dead nodes according to the
latest query.

@sazzad16
Copy link
Contributor

@yangbodong22011

  1. 👍 for resolving JedisClusterInfoCache: refresh the nodes map #2550
  2. About Remove slave to jedisPool mapping #2504, the actual issue would still remain. But this would at least add some defense.

Could you please add a reverse test? E.g. start with 4 nodes and end up with 3 nodes after reconfiguration?

This PR solves redis#2504 redis#2550, when renewSlotCache, we also remove dead nodes according to the
latest query.
@yangbodong22011 yangbodong22011 force-pushed the feature-cluster-refresh-nodes branch from 8ea4e09 to 56192a3 Compare September 10, 2021 09:12
@yangbodong22011
Copy link
Contributor Author

Could you please add a reverse test? E.g. start with 4 nodes and end up with 3 nodes after reconfiguration?

@sazzad16 done

@sazzad16 sazzad16 merged commit c056a11 into redis:master Sep 30, 2021
sazzad16 pushed a commit that referenced this pull request Sep 30, 2021
This PR solves #2504 #2550, when renewSlotCache, we also remove dead nodes according to the
latest query.
@chayim chayim mentioned this pull request Jun 2, 2022
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.

3 participants