Navigation Menu

Skip to content

Commit

Permalink
Add expected result of other nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Jun 25, 2014
1 parent c8595cd commit 3435d30
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 0 deletions.
28 changes: 28 additions & 0 deletions _po/ja/tutorial/1.0.4/add-replica/index.po
Expand Up @@ -487,6 +487,34 @@ msgid ""
" }\n"
" }\n"
"}\n"
"# curl \"http://192.168.0.11:10041/droonga/status\"\n"
"{\n"
" \"nodes\": {\n"
" \"192.168.0.10:10031/droonga\": {\n"
" \"live\": true\n"
" },\n"
" \"192.168.0.11:10031/droonga\": {\n"
" \"live\": true\n"
" },\n"
" \"192.168.0.12:10031/droonga\": {\n"
" \"live\": true\n"
" }\n"
" }\n"
"}\n"
"# curl \"http://192.168.0.12:10041/droonga/status\"\n"
"{\n"
" \"nodes\": {\n"
" \"192.168.0.10:10031/droonga\": {\n"
" \"live\": true\n"
" },\n"
" \"192.168.0.11:10031/droonga\": {\n"
" \"live\": true\n"
" },\n"
" \"192.168.0.12:10031/droonga\": {\n"
" \"live\": true\n"
" }\n"
" }\n"
"}\n"
"~~~"
msgstr ""

Expand Down
28 changes: 28 additions & 0 deletions ja/tutorial/1.0.4/add-replica/index.md
Expand Up @@ -306,6 +306,34 @@ cronjobとして実行されるバッチスクリプトによって `load` コ
}
}
}
# curl "http://192.168.0.11:10041/droonga/status"
{
"nodes": {
"192.168.0.10:10031/droonga": {
"live": true
},
"192.168.0.11:10031/droonga": {
"live": true
},
"192.168.0.12:10031/droonga": {
"live": true
}
}
}
# curl "http://192.168.0.12:10041/droonga/status"
{
"nodes": {
"192.168.0.10:10031/droonga": {
"live": true
},
"192.168.0.11:10031/droonga": {
"live": true
},
"192.168.0.12:10031/droonga": {
"live": true
}
}
}
~~~

いずれのノードも同じ結果を返します。
Expand Down
28 changes: 28 additions & 0 deletions tutorial/1.0.4/add-replica/index.md
Expand Up @@ -302,6 +302,34 @@ You can confirm that, via the `status` command:
}
}
}
# curl "http://192.168.0.11:10041/droonga/status"
{
"nodes": {
"192.168.0.10:10031/droonga": {
"live": true
},
"192.168.0.11:10031/droonga": {
"live": true
},
"192.168.0.12:10031/droonga": {
"live": true
}
}
}
# curl "http://192.168.0.12:10041/droonga/status"
{
"nodes": {
"192.168.0.10:10031/droonga": {
"live": true
},
"192.168.0.11:10031/droonga": {
"live": true
},
"192.168.0.12:10031/droonga": {
"live": true
}
}
}
~~~

Any node returns same result.
Expand Down

0 comments on commit 3435d30

Please sign in to comment.