[Groonga-commit] droonga/droonga-engine at 70e1477 [master] Add configuration and expected result for single slice case

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jun 3 12:07:56 JST 2015


YUKI Hiroshi	2015-06-03 12:07:56 +0900 (Wed, 03 Jun 2015)

  New Revision: 70e14770ffe6f157cc491600b090bfc822d01558
  https://github.com/droonga/droonga-engine/commit/70e14770ffe6f157cc491600b090bfc822d01558

  Message:
    Add configuration and expected result for single slice case

  Added files:
    test/command/suite/system/absorb-data/records.catalog.json.single_slice
    test/command/suite/system/absorb-data/records.expected.single_slice

  Added: test/command/suite/system/absorb-data/records.catalog.json.single_slice (+44 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/system/absorb-data/records.catalog.json.single_slice    2015-06-03 12:07:56 +0900 (c63d08e)
@@ -0,0 +1,44 @@
+{
+  "datasets": {
+    "Default": {
+    },
+    "Source": {
+      "schema": {
+        "Users": {
+          "type": "PatriciaTrie",
+          "keyType": "ShortText"
+        }
+      },
+      "nWorkers": 2,
+      "plugins": ["groonga", "crud", "search", "dump", "system", "catalog"],
+      "replicas": [
+        {
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "label": "slice020",
+              "weight": 100,
+              "volume": {
+                "address": "127.0.0.1:23003/droonga.020"
+              }
+            }
+          ]
+        },
+        {
+          "dimension": "_key",
+          "slicer": "hash",
+          "slices": [
+            {
+              "label": "slice030",
+              "weight": 100,
+              "volume": {
+                "address": "127.0.0.1:23003/droonga.030"
+              }
+            }
+          ]
+        }
+      ]
+    }
+  }
+}

  Added: test/command/suite/system/absorb-data/records.expected.single_slice (+32 -0) 100644
===================================================================
--- /dev/null
+++ test/command/suite/system/absorb-data/records.expected.single_slice    2015-06-03 12:07:56 +0900 (5afbd3f)
@@ -0,0 +1,32 @@
+{
+  "inReplyTo": "request-id",
+  "dataset": "Default",
+  "date": "0000-00-00T00:00:00.000000Z",
+  "type": "system.absorb-data.start"
+}
+{
+  "inReplyTo": "request-id",
+  "statusCode": 200,
+  "type": "system.absorb-data.result",
+  "body": {
+    "started": true
+  }
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Default",
+  "date": "0000-00-00T00:00:00.000000Z",
+  "body": {
+    "nProcessedMessages": 2,
+    "nRestoredObjects":   2,
+    "percentage":         100,
+    "message":            "100% done (maybe 00:00:00 remaining)"
+  },
+  "type": "system.absorb-data.progress"
+}
+{
+  "inReplyTo": "request-id",
+  "dataset": "Default",
+  "date": "0000-00-00T00:00:00.000000Z",
+  "type": "system.absorb-data.end"
+}
-------------- next part --------------
HTML����������������������������...
下载 



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