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

Use /leader as default trigger key for Patroni DCS type #277

Conversation

mbanck-ntap
Copy link
Contributor

AFAICT, dcs-type=patroni has useful trigger-value (200) and dcs-endpoints (http://127.0.0.1:8008) defaults, but none for trigger-key. The --help output suggests /leader (leader without leading slash works as well), and I am not sure it makes a lot of sense to use anything else than /leader? Or at least, I think that is a useful default, so I implemented it in the attached PR.

@mbanck-ntap
Copy link
Contributor Author

Hrm, not sure about the Github-Action failure, is that a known issue or something in the new project?

@pashagolub
Copy link
Collaborator

I am not sure it makes a lot of sense to use anything else than /leader?

/replica :-) Some people want to have 2 VIPs.

@pashagolub
Copy link
Collaborator

pashagolub commented Nov 15, 2024

That's not yours. I'll fix linter issue

@pashagolub pashagolub self-assigned this Nov 15, 2024
@mbanck-ntap
Copy link
Contributor Author

I am not sure it makes a lot of sense to use anything else than /leader?

/replica :-) Some people want to have 2 VIPs.

Ah fair enough, but I think /leader is a reasonable default still

@pashagolub
Copy link
Collaborator

Weird. I pushed the fix but still cannot see it on github. Are there any actions needed on your side?

pashagolub added a commit that referenced this pull request Nov 15, 2024
supersedes #277
 
Co-authored-by: Michael Banck <[email protected]>
@pashagolub
Copy link
Collaborator

superseded by #278

@pashagolub pashagolub closed this Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants