You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: