Skip to content

proxy: Add --exit-on-store-error flag - #907

Draft
nh2 wants to merge 1 commit into
sorintlab:masterfrom
nh2:exit-on-store-error
Draft

proxy: Add --exit-on-store-error flag#907
nh2 wants to merge 1 commit into
sorintlab:masterfrom
nh2:exit-on-store-error

Conversation

@nh2

@nh2 nh2 commented Apr 13, 2023

Copy link
Copy Markdown
Contributor

Workaround for #888.

--exit-on-store-error can be given when stolon-proxy is managed with something that will restart it on exit, e.g. systemd or similar.

@nh2

nh2 commented Apr 29, 2023

Copy link
Copy Markdown
Contributor Author

Note this workaround isn't perfect.

It will trigger the proces to exit even on temporary consul HTTP 500 errors that are recoverable.

It would be much better to distinguish between proper consul hangs, and such temporary errors.

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.

1 participant