YUKI Hiroshi
null+****@clear*****
Thu Sep 25 19:05:18 JST 2014
YUKI Hiroshi 2014-09-25 19:05:18 +0900 (Thu, 25 Sep 2014) New Revision: ac04eacb6497db92a2773d5ce7c2181d38b525a0 https://github.com/droonga/droonga.org/commit/ac04eacb6497db92a2773d5ce7c2181d38b525a0 Message: Specify unique parameter to bypass cache Modified files: _po/ja/tutorial/1.0.6/dump-restore/index.po ja/tutorial/1.0.6/dump-restore/index.md tutorial/1.0.6/dump-restore/index.md Modified: _po/ja/tutorial/1.0.6/dump-restore/index.po (+3 -3) =================================================================== --- _po/ja/tutorial/1.0.6/dump-restore/index.po 2014-09-25 19:02:14 +0900 (dcd682f) +++ _po/ja/tutorial/1.0.6/dump-restore/index.po 2014-09-25 19:05:18 +0900 (02dac2f) @@ -487,9 +487,9 @@ msgid "" "(on node1)\n" "# droonga-engine-catalog-modify --replica-hosts=node1\n" "$ endpoint=\"http://node1:10041\"\n" -"$ curl \"$endpoint/d/table_remove?name=Location\"\n" -"$ curl \"$endpoint/d/table_remove?name=Store\"\n" -"$ curl \"$endpoint/d/table_remove?name=Term\"\n" +"$ curl \"$endpoint/d/table_remove?name=Location&_=$(date +%s)\"\n" +"$ curl \"$endpoint/d/table_remove?name=Store&_=$(date +%s)\"\n" +"$ curl \"$endpoint/d/table_remove?name=Term&_=$(date +%s)\"\n" "~~~" msgstr "" Modified: ja/tutorial/1.0.6/dump-restore/index.md (+3 -3) =================================================================== --- ja/tutorial/1.0.6/dump-restore/index.md 2014-09-25 19:02:14 +0900 (a5e59c4) +++ ja/tutorial/1.0.6/dump-restore/index.md 2014-09-25 19:05:18 +0900 (30ebe91) @@ -335,9 +335,9 @@ $ curl "$endpoint/d/select?table=Store&output_columns=name&limit=10&_=$(date +%s (on node1) # droonga-engine-catalog-modify --replica-hosts=node1 $ endpoint="http://node1:10041" -$ curl "$endpoint/d/table_remove?name=Location" -$ curl "$endpoint/d/table_remove?name=Store" -$ curl "$endpoint/d/table_remove?name=Term" +$ curl "$endpoint/d/table_remove?name=Location&_=$(date +%s)" +$ curl "$endpoint/d/table_remove?name=Store&_=$(date +%s)" +$ curl "$endpoint/d/table_remove?name=Term&_=$(date +%s)" ~~~ これで、ノード `node0` を含む複製元クラスタと、ノード `node1` を含む複製先の空のクラスタの、2つのクラスタができました。確かめてみましょう: Modified: tutorial/1.0.6/dump-restore/index.md (+3 -3) =================================================================== --- tutorial/1.0.6/dump-restore/index.md 2014-09-25 19:02:14 +0900 (b6688fd) +++ tutorial/1.0.6/dump-restore/index.md 2014-09-25 19:05:18 +0900 (a2e87ab) @@ -330,9 +330,9 @@ Construct two clusters by `droonga-engine-catalog-modify` and make one cluster e (on node1) # droonga-engine-catalog-modify --replica-hosts=node1 $ endpoint="http://node1:10041" -$ curl "$endpoint/d/table_remove?name=Location" -$ curl "$endpoint/d/table_remove?name=Store" -$ curl "$endpoint/d/table_remove?name=Term" +$ curl "$endpoint/d/table_remove?name=Location&_=$(date +%s)" +$ curl "$endpoint/d/table_remove?name=Store&_=$(date +%s)" +$ curl "$endpoint/d/table_remove?name=Term&_=$(date +%s)" ~~~ After that there are two clusters: one contains `node0` with data, another contains `node1` with no data. Confirm it: -------------- next part -------------- HTML����������������������������...Download