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

Consistent topology per service_group #2005

Open
bodymindarts opened this issue Mar 28, 2017 · 5 comments
Open

Consistent topology per service_group #2005

bodymindarts opened this issue Mar 28, 2017 · 5 comments
Labels
Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Stale Type: Bug Issues that describe broken functionality

Comments

@bodymindarts
Copy link
Contributor

bodymindarts commented Mar 28, 2017

Currently the topology of a service is not being gossiped. It will need to be gossiped in order to implement #2003.

However first we need to address some inconsistent/undefined behaviour. Currently topology is scoped to a service and not a service_group this means it is possible for some services in a group to execute logic as if they were in standalone topology while another part of the group
executes code relevant to leader topology (eg. here).

How should this be dealt with?
I suggest prohibiting services to join a group that are started with a different --topology setting as the rest of the group.

@mwrock
Copy link
Contributor

mwrock commented Mar 28, 2017

I think a common scenario might be a simple web application where you want a leader topology for the web tier but a standalone database. Granted its just a demo, but in https://github.com/habitat-sh/habitat-aspnet-sample, I have such a scenario. I want rolling updates to the web app but don't want the complexity of a multi node db cluster.

@bodymindarts
Copy link
Contributor Author

bodymindarts commented Mar 28, 2017

@mwrock Right but it is possible to start some parts of your web app with --topoplogy leader and others without (so implicitly --topology standalone). This could cause some of the web app instances to behaviour differently than others even though they are part of the same service_group.

@mwrock
Copy link
Contributor

mwrock commented Mar 28, 2017

yes that would be undesirable. I see now that I have mixed group with "service group" here. So my comment really does not apply.

@stale
Copy link

stale bot commented Apr 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Apr 2, 2020
@christophermaier christophermaier added Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Type: Bug Issues that describe broken functionality and removed A-supervisor labels Jul 24, 2020
@stale stale bot removed the Stale label Jul 24, 2020
@stale
Copy link

stale bot commented Aug 13, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. We value your input and contribution. Please leave a comment if this issue still affects you.

@stale stale bot added the Stale label Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Focus:Supervisor Related to the Habitat Supervisor (core/hab-sup) component Stale Type: Bug Issues that describe broken functionality
Projects
None yet
Development

No branches or pull requests

7 participants