YUKI Hiroshi
null+****@clear*****
Wed Jun 25 16:11:32 JST 2014
YUKI Hiroshi 2014-06-25 16:11:32 +0900 (Wed, 25 Jun 2014) New Revision: c8595cda7e2c0e84019ecf85b217710ae1183ce1 https://github.com/droonga/droonga.org/commit/c8595cda7e2c0e84019ecf85b217710ae1183ce1 Message: Update description of results of "status" command on each node Modified files: _po/ja/tutorial/1.0.4/add-replica/index.po ja/tutorial/1.0.4/add-replica/index.md tutorial/1.0.4/add-replica/index.md Modified: _po/ja/tutorial/1.0.4/add-replica/index.po (+18 -27) =================================================================== --- _po/ja/tutorial/1.0.4/add-replica/index.po 2014-06-25 15:56:10 +0900 (2bef8df) +++ _po/ja/tutorial/1.0.4/add-replica/index.po 2014-06-25 16:11:32 +0900 (017fd89) @@ -404,21 +404,23 @@ msgid "You can confirm that, via the `status` command for each cluster:" msgstr "この事は、各クラスタに対する `status` コマンドの実行結果を見ると確認できます:" msgid "" -"~~~\n" -"(for the cluster alpha)\n" -"# curl \"http://192.168.0.10: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" -" }\n" -"}\n" -"~~~" +"Because `catalog.json` on nodes `192.168.0.10` and `192.168.0.11` have no chan" +"ge, the result says that there is still the cluster alpha with only two nodes." +"\n" +"Any incoming request to the cluster alpha is never delivered to the new replic" +"a `192.168.0.12` yet." +msgstr "" +"`192.168.0.10` と `192.168.0.11` の `catalog.json` には何も変更がないため、コマンドの実行結果は依然として2つ" +"のノードから構成されるクラスタ alpha の情報を返します。\n" +"クラスタ alpha へ流入するリクエストは、まだ新しい replica である `192.168.0.12` には配送されません。" + +msgid "" +"However, the new node `192.168.0.12` has a new `catalog.json`.\n" +"It knows the cluster charlie includes three nodes, even if other two existing " +"nodes don't know that:" msgstr "" +"しかし、新しいノード `192.168.0.12` は新しい `catalog.json` を持っています。\n" +"他の2つの既存ノードがその事を知らなくても、このノードはクラスタ charlie が3つのノードを含んでいる事を知っています:" msgid "" "~~~\n" @@ -440,19 +442,8 @@ msgid "" "~~~" msgstr "" -msgid "" -"Note that the temporary cluster named \"beta\" is gone.\n" -"And, the new node `192.168.0.12` knows the cluster charlie includes three node" -"s, other two existing nodes don't know that.\n" -"Because both two existing nodes think that there are only them in the cluster " -"they belong to, any incoming request to them never delivered to the new replic" -"a `192.168.0.12` yet." -msgstr "" -"「beta」と仮称した一時的なクラスタが姿を消している事に注意してください。\n" -"この時、新しいノード `192.168.0.12` はクラスタ charlie が3つのノードを含んでいる事を知っていますが、他の2つの既存のノードはその事" -"を知りません。\n" -"既存の2つのノードは、自分自身が属しているクラスタ内にいるノードは2つだけだと認識しているため、流入してきたリクエストは、新しいノード `192.168.0" -".12` へはまだ配送されません。" +msgid "Note that the temporary cluster named \"beta\" is gone." +msgstr "「beta」と仮称した一時的なクラスタが姿を消している事に注意してください。" msgid "Next, copy new `catalog.json` from `192.168.0.12` to others." msgstr "次に、新しい `catalog.json` を`192.168.0.12` から他のノードにコピーします。" Modified: ja/tutorial/1.0.4/add-replica/index.md (+17 -2) =================================================================== --- ja/tutorial/1.0.4/add-replica/index.md 2014-06-25 15:56:10 +0900 (5571fee) +++ ja/tutorial/1.0.4/add-replica/index.md 2014-06-25 16:11:32 +0900 (0e31ea0) @@ -235,8 +235,25 @@ 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.10` と `192.168.0.11` の `catalog.json` には何も変更がないため、コマンドの実行結果は依然として2つのノードから構成されるクラスタ alpha の情報を返します。 +クラスタ alpha へ流入するリクエストは、まだ新しい replica である `192.168.0.12` には配送されません。 + +しかし、新しいノード `192.168.0.12` は新しい `catalog.json` を持っています。 +他の2つの既存ノードがその事を知らなくても、このノードはクラスタ charlie が3つのノードを含んでいる事を知っています: + ~~~ (for the cluster charlie) # curl "http://192.168.0.12:10041/droonga/status" @@ -256,8 +273,6 @@ cronjobとして実行されるバッチスクリプトによって `load` コ ~~~ 「beta」と仮称した一時的なクラスタが姿を消している事に注意してください。 -この時、新しいノード `192.168.0.12` はクラスタ charlie が3つのノードを含んでいる事を知っていますが、他の2つの既存のノードはその事を知りません。 -既存の2つのノードは、自分自身が属しているクラスタ内にいるノードは2つだけだと認識しているため、流入してきたリクエストは、新しいノード `192.168.0.12` へはまだ配送されません。 次に、新しい `catalog.json` を`192.168.0.12` から他のノードにコピーします。 Modified: tutorial/1.0.4/add-replica/index.md (+17 -2) =================================================================== --- tutorial/1.0.4/add-replica/index.md 2014-06-25 15:56:10 +0900 (a5756f6) +++ tutorial/1.0.4/add-replica/index.md 2014-06-25 16:11:32 +0900 (36514f3) @@ -231,8 +231,25 @@ You can confirm that, via the `status` command for each cluster: } } } +# 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 + } + } +} ~~~ +Because `catalog.json` on nodes `192.168.0.10` and `192.168.0.11` have no change, the result says that there is still the cluster alpha with only two nodes. +Any incoming request to the cluster alpha is never delivered to the new replica `192.168.0.12` yet. + +However, the new node `192.168.0.12` has a new `catalog.json`. +It knows the cluster charlie includes three nodes, even if other two existing nodes don't know that: + ~~~ (for the cluster charlie) # curl "http://192.168.0.12:10041/droonga/status" @@ -252,8 +269,6 @@ You can confirm that, via the `status` command for each cluster: ~~~ Note that the temporary cluster named "beta" is gone. -And, the new node `192.168.0.12` knows the cluster charlie includes three nodes, other two existing nodes don't know that. -Because both two existing nodes think that there are only them in the cluster they belong to, any incoming request to them never delivered to the new replica `192.168.0.12` yet. Next, copy new `catalog.json` from `192.168.0.12` to others. -------------- next part -------------- HTML����������������������������...Download