Skip to content
This repository was archived by the owner on Jun 1, 2020. It is now read-only.
This repository was archived by the owner on Jun 1, 2020. It is now read-only.

Ring ownership after start #36

@kakoni

Description

@kakoni

So starting riak cluster as per documention
`DOCKER_RIAK_AUTOMATIC_CLUSTERING=1 DOCKER_RIAK_CLUSTER_SIZE=5 DOCKER_RIAK_BACKEND=leveldb make start-cluster``

After stabilization I'll check for ring ownership;
"ring_ownership": "[{'riak@172.17.0.64',64}]",

Thats uncool.

So docker-enter into one of the nodes to see what riak-admin cluster plan shows

================================= Membership ==================================
Status     Ring    Pending    Node
-------------------------------------------------------------------------------
valid      20.3%     20.3%    'riak@172.17.0.64'
valid      20.3%     20.3%    'riak@172.17.0.65'
valid      20.3%     20.3%    'riak@172.17.0.66'
valid      20.3%     20.3%    'riak@172.17.0.67'
valid      18.8%     18.8%    'riak@172.17.0.68'
-------------------------------------------------------------------------------
Valid:5 / Leaving:0 / Exiting:0 / Joining:0 / Down:0

Outstading changes, I'll commit them and check the status again

root@5ec57bbf8295:~# riak-admin cluster commit
Cluster changes committed
root@5ec57bbf8295:~# riak-admin cluster plan
There are no staged changes

All good. And obviously ring ownership also cool now
"ring_ownership": "[{'riak@172.17.0.64',13},\n {'riak@172.17.0.65',13},\n {'riak@172.17.0.66',13},\n {'riak@172.17.0.67',13},\n {'riak@172.17.0.68',12}]",

So something with automatic_clustering fails here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions