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

[multikv] application is shut down when secondary store(memberlist) failed to start #190

Open
vlad-diachenko opened this issue Jul 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@vlad-diachenko
Copy link
Contributor

In our case, we use primary store (consul) and secondary store (memberlist). So, when the app established a connection with consul, the service becomes Ready, and after some time if memberlist module failed to start, the whole application is shut down with messages:

level=error ts=2022-07-05T09:25:39.8466124Z caller=memberlist_client.go:466 msg="failed to join memberlist cluster" err="1 error occurred:\n\t │
│ level=info ts=2022-07-05T09:25:39.8468695Z caller=memberlist_client.go:591 msg="leaving memberlist cluster"                                    │
│ level=warn ts=2022-07-05T09:25:39.847216Z caller=module_service.go:112 msg="module failed with error" module=memberlist-kv err="service &{0xc0 │
│ level=error ts=2022-07-05T09:25:39.847582Z caller=loki.go:382 msg="module failed" module=memberlist-kv error="service &{0xc00097e8c0 { true 10 │
│ level=info ts=2022-07-05T09:25:39.8477152Z caller=basic_lifecycler.go:202 msg="ring lifecycler is shutting down" ring=admin-api                │
│ level=info ts=2022-07-05T09:25:39.8484468Z caller=compactor.go:369 msg="compactor exiting"                                                     │
│ level=info ts=2022-07-05T09:25:39.8485662Z caller=basic_lifecycler.go:202 msg="ring lifecycler is shutting down" ring=compactor                │
│ level=info ts=2022-07-05T09:25:39.8477701Z caller=manager.go:238 msg="stopping user managers"                                                  │
│ level=info ts=2022-07-05T09:25:39.8490085Z caller=manager.go:252 msg="all user managers stopped"

Actual Result: service is stopped if the secondary store(memberlist) does not work.
Expected Result: service continues working if the primary store works.

@vlad-diachenko vlad-diachenko added the enhancement New feature or request label Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant