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

It possible of inconsistent status of a storage-node between leo_redundant_manager and leo_manager #417

Closed
yosukehara opened this issue Sep 7, 2015 · 1 comment

Comments

@yosukehara
Copy link
Member

There are possibility of inconsistency of status of a member with operations because two tables are storing and managing node-status of storage nodes. So we need to remove a column of state from leo_storage_nodes to unify the record with leo_members_cur.

%% leo_manager/leo_storage_nodes:
{leo_storage_nodes,'storage_@1.2.3.77',running,"ad8f631d","ad8f631d",63603626660,0}.
{leo_storage_nodes,'storage_101@1.2.3.74',running,"ad8f631d","ad8f631d",63603626097,0}.
{leo_storage_nodes,'storage_102@1.2.3.75',running,"ad8f631d","ad8f631d",63603626305,0}.
{leo_storage_nodes,'storage_105@1.2.3.18',attached,[],[],63608484048,0}.
{leo_storage_nodes,'storage_103@1.2.3.76',running,"ad8f631d","ad8f631d",63603626450,0}.

%% leo_redundant_manager/leo_members_cur:
{leo_members_cur,'storage_104@1.2.3.77',"node_053a7d8e","1.2.3.77",13077,ipv4,1399947793754906,running,168,[],[]}.
{leo_members_cur,'storage_101@1.2.3.74',"node_78c19e24","1.2.3.74",13075,ipv4,1409191248571549,running,168,[],[]}.
{leo_members_cur,'storage_102@1.2.3.75',"node_7e013647","1.2.3.75",13075,ipv4,1411002000664416,running,168,[],[]}.
{leo_members_cur,'storage_105@1.2.3.18',[],"1.2.3.18",13077,ipv4,1441264848784584,attached,168,[],[]}.
{leo_members_cur,'storage_103@1.2.3.76',"node_0d6fab04","1.2.3.76",13077,ipv4,1399947791101110,running,168,[],[]}.
@yosukehara
Copy link
Member Author

DONE

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