Skip to content

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

Closed
mbanck-cd wants to merge 1 commit into
cybertec-postgresql:masterfrom
credativ:dcs-type-patroni-default-trigger-key
Closed

Use /leader as default trigger key for Patroni DCS type#277
mbanck-cd wants to merge 1 commit into
cybertec-postgresql:masterfrom
credativ:dcs-type-patroni-default-trigger-key

Conversation

@mbanck-cd
Copy link
Copy Markdown
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-cd
Copy link
Copy Markdown
Contributor Author

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

@pashagolub
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

pashagolub commented Nov 15, 2024

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

@pashagolub pashagolub self-assigned this Nov 15, 2024
@mbanck-cd
Copy link
Copy Markdown
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
Copy Markdown
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 <michael.banck@credativ.de>
@pashagolub
Copy link
Copy Markdown
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