[Groonga-commit] droonga/fluent-plugin-droonga at 08f55ba [master] Upgrade sample catalog.json to v2

Back to archive index

Yoji Shidara null+****@clear*****
Thu Feb 27 11:04:39 JST 2014


Yoji Shidara	2014-02-27 11:04:39 +0900 (Thu, 27 Feb 2014)

  New Revision: 08f55badb7672bac3bc35e33469d9f5f0b365625
  https://github.com/droonga/fluent-plugin-droonga/commit/08f55badb7672bac3bc35e33469d9f5f0b365625

  Message:
    Upgrade sample catalog.json to v2

  Modified files:
    sample/cluster/catalog.json

  Modified: sample/cluster/catalog.json (+31 -32)
===================================================================
--- sample/cluster/catalog.json    2014-02-26 17:40:32 +0900 (b509fc4)
+++ sample/cluster/catalog.json    2014-02-27 11:04:39 +0900 (74109c8)
@@ -1,41 +1,40 @@
 {
-  "version": 1,
-  "effective_date": "2013-09-01T00:00:00Z",
-  "zones": ["localhost:23003/droonga"],
-  "farms": {
-    "localhost:23003/droonga": {
-      "device": ".",
-      "capacity": 10
-    }
-  },
+  "version": 2,
+  "effectiveDate": "2013-09-01T00:00:00Z",
   "datasets": {
     "Droonga": {
-      "workers": 2,
+      "nWorkers": 2,
       "plugins": ["groonga", "search", "crud"],
-      "number_of_replicas": 2,
-      "number_of_partitions": 2,
-      "partition_key": "_key",
-      "date_range": "infinity",
-      "ring": {
-        "localhost:23041": {
-          "weight": 50,
-          "partitions": {
-            "2013-09-01": [
-              "localhost:23003/droonga.000",
-              "localhost:23003/droonga.001"
-            ]
-          }
+      "replicas": [
+        {
+          "slices": [
+            {
+              "volume": {
+                "address": "localhost:23003/droonga.000"
+              }
+            },
+            {
+              "volume": {
+                "address": "localhost:23003/droonga.001"
+              }
+            }
+          ]
         },
-        "localhost:23042": {
-          "weight": 50,
-          "partitions": {
-            "2013-09-01": [
-              "localhost:23003/droonga.002",
-              "localhost:23003/droonga.003"
-            ]
-          }
+        {
+          "slices": [
+            {
+              "volume": {
+                "address": "localhost:23003/droonga.002"
+              }
+            },
+            {
+              "volume": {
+                "address": "localhost:23003/droonga.003"
+              }
+            }
+          ]
         }
-      }
+      ]
     }
   }
 }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index