Skip to content
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
wants to merge 11 commits into
base: master
Choose a base branch
from

Commits on Mar 7, 2018

  1. 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!
    digitalsonic committed Mar 7, 2018
    Configuration menu
    Copy the full SHA
    8852f78 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2018

  1. Configuration menu
    Copy the full SHA
    c4128bb View commit details
    Browse the repository at this point in the history
  2. 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
    digitalsonic committed Mar 10, 2018
    Configuration menu
    Copy the full SHA
    77331c0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    462a9ff View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2018

  1. Configuration menu
    Copy the full SHA
    8708293 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    65f4cbe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a74f74d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2018

  1. Configuration menu
    Copy the full SHA
    1b1e448 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    62074f2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd73d80 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    660f713 View commit details
    Browse the repository at this point in the history