-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
RedisCluster that can use ReadOnly slaves #1789
Open
digitalsonic
wants to merge
11
commits into
redis:master
Choose a base branch
from
digitalsonic:redis-cluster-with-readonly-slaves
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
RedisCluster that can use ReadOnly slaves #1789
digitalsonic
wants to merge
11
commits into
redis:master
from
digitalsonic:redis-cluster-with-readonly-slaves
Commits on Mar 7, 2018
-
enable reading from SLAVE nodes in Redis cluster
Add a readFrom parameter, whose value can be MASTER(default), SLAVE and BOTH. This parameter will be passed to all the read command, such as GET, MGET etc. When the JedisPool of a slave node is created, READONLY will be sent immediately. JedisClusterInfoCache has a lot of changes!
Configuration menu - View commit details
-
Copy full SHA for 8852f78 - Browse repository at this point
Copy the full SHA 8852f78View commit details
Commits on Mar 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for c4128bb - Browse repository at this point
Copy the full SHA c4128bbView commit details -
format codes & extract an abstract cluster cache layer
The JedisClusterInfoCache has been reverted to the original one. Add a new AbstractJedisCluserInfoCache. If the user choose to use ReadFrom.MASTER, the old JedisClusterInfoCache will be created. If the user choose ReadFrom.SLAVE or BOTH, the EnhancedJedisClusterInfoCache will be created. EnhancedJedisClusterInfoCache can remove JedisPools in the process of nodes setup
Configuration menu - View commit details
-
Copy full SHA for 77331c0 - Browse repository at this point
Copy the full SHA 77331c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 462a9ff - Browse repository at this point
Copy the full SHA 462a9ffView commit details
Commits on Mar 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 8708293 - Browse repository at this point
Copy the full SHA 8708293View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65f4cbe - Browse repository at this point
Copy the full SHA 65f4cbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a74f74d - Browse repository at this point
Copy the full SHA a74f74dView commit details
Commits on Mar 17, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1b1e448 - Browse repository at this point
Copy the full SHA 1b1e448View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62074f2 - Browse repository at this point
Copy the full SHA 62074f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd73d80 - Browse repository at this point
Copy the full SHA bd73d80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 660f713 - Browse repository at this point
Copy the full SHA 660f713View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.