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

Move to a fully declarative model #160

Closed
sgotti opened this issue Oct 11, 2016 · 1 comment
Closed

Move to a fully declarative model #160

sgotti opened this issue Oct 11, 2016 · 1 comment
Assignees
Milestone

Comments

@sgotti
Copy link
Member

sgotti commented Oct 11, 2016

To implement features like #144 #157 #159 some breaking changes in the current store model and also in keepers local db file handling are probably inevitable.

Use this breaking point to also move the store model to a full declarative model (similar to the k8s one).
There won't be a "real" api server like in k8s since it'll require implementing it inside the sentinels (to avoid adding additional processes) and making them a frontend between the clients and the store (this will require secure http calls, authentication, need to load balance calls to them, retry if a sentinel doesn't work and many other issues to handle). Instead the store writers (sentinels and stolonctl) will directly generate and validate the "api" data and write them to the store.

This will ease implementation of the above features, remove some overlapping and confusing logics and make future improvements easier to implement.

@sgotti
Copy link
Member Author

sgotti commented Nov 24, 2016

Implemented in #178

@sgotti sgotti closed this as completed Nov 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant