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

Confusing outdated view info in cluster state #47

Open
engelsanchez opened this issue Jul 25, 2014 · 0 comments
Open

Confusing outdated view info in cluster state #47

engelsanchez opened this issue Jul 25, 2014 · 0 comments

Comments

@engelsanchez
Copy link
Contributor

Currently the cluster state record managed by the root ensemble and the managers contains information for ensembles that is not kept up to date. For example, if you create a 3 node cluster in Riak with strong consistency on, and later add a 4th node, the ensemble information you get by querying the root ensemble directly or riak_ensemble_manager:known_ensembles() will contain the original views for the ensembles, likely different to what you get when calling riak_ensemble_manager:get_views(EnsembleId). The up to date views are only kept in the ensemble facts and in the manager's ensemble_data field in its state.

Related to this, the update_ensemble function in riak_ensemble_root is not really used and would not work as the views information it manages is not really used. Obviously this has changed as riak_ensemble has evolved since the first version. It would be nice to clean it up and remove the redundant and potentially misleading information.

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

No branches or pull requests

1 participant