Skip to content

Add .Master(), .Slaves() and .CkQuorum() funcs for Sentinel #1033

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

Merged
merged 1 commit into from
May 25, 2019
Merged

Add .Master(), .Slaves() and .CkQuorum() funcs for Sentinel #1033

merged 1 commit into from
May 25, 2019

Conversation

timvaillancourt
Copy link
Contributor

@timvaillancourt timvaillancourt commented May 25, 2019

Adds 3 x missing "sentinel" commands to SentinelClient:

  1. .Masters()
  2. .Slaves()
  3. .CkQuorum()

See: https://redis.io/topics/sentinel#sentinel-commands

@vmihailenco
Copy link
Collaborator

Thanks

@vmihailenco vmihailenco merged commit 857fbcc into redis:master May 25, 2019
@timvaillancourt timvaillancourt deleted the additional-sentinel-funcs branch May 25, 2019 16:16
vmihailenco added a commit that referenced this pull request Mar 11, 2020
Add .Master(), .Slaves() and .CkQuorum() funcs for Sentinel
@opan
Copy link

opan commented Apr 14, 2024

Sorry to bump this old PR. Do you have some example for how to parse the output from .Masters command? I kinda have trouble figuring this out. Thanks in advance!

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