Navigation Menu

Skip to content

Commit

Permalink
Add steps to confirm equivalence of replicas
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Apr 29, 2015
1 parent fa66faa commit c0d0061
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tutorial/1.1.0/add-replica/index.md
Expand Up @@ -212,6 +212,27 @@ $ curl "http://node0:10041/droonga/system/status" | jq "."

Because the new node `node2` has become a member of the cluster, `droonga-http-server` on each node distributes messages to `node2` also automatically.

Equivalence of all replicas can be confirmed with the command `system.statistics.object.count.per-volume`, like:

~~~
(on node0)
$ curl "http://node0:10041/droonga/system/statistics/object/count/per-volume?output\[\]=total" | jq "."
{
"node0:10031/droonga.000": {
"total": 540
},
"node1:10031/droonga.000": {
"total": 540
},
"node2:10031/droonga.000": {
"total": 540
}
}
~~~

Those numbers indicates how many objects are stored in each node.
Because all values are same, they replicas are equal to each other.


## Remove an existing replica node from an existing cluster

Expand Down

0 comments on commit c0d0061

Please sign in to comment.