droonga-engine 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +2 -1
  3. data/Rakefile +6 -0
  4. data/bin/droonga-engine-absorb-data +14 -14
  5. data/bin/droonga-engine-catalog-generate +24 -12
  6. data/bin/droonga-engine-catalog-modify +13 -7
  7. data/bin/droonga-engine-join +8 -8
  8. data/bin/droonga-engine-set-role +1 -1
  9. data/bin/droonga-engine-unjoin +2 -2
  10. data/lib/droonga/address.rb +3 -0
  11. data/lib/droonga/cluster.rb +16 -10
  12. data/lib/droonga/command/droonga_engine_service.rb +5 -2
  13. data/lib/droonga/command/remote_command_base.rb +3 -3
  14. data/lib/droonga/distributed_command_planner.rb +11 -1
  15. data/lib/droonga/engine.rb +12 -11
  16. data/lib/droonga/engine/version.rb +2 -2
  17. data/lib/droonga/engine_node.rb +28 -28
  18. data/lib/droonga/engine_state.rb +41 -36
  19. data/lib/droonga/forward_buffer.rb +21 -10
  20. data/lib/droonga/node_role.rb +2 -0
  21. data/lib/droonga/plugins/groonga/select.rb +3 -0
  22. data/lib/droonga/plugins/search.rb +3 -1
  23. data/lib/droonga/plugins/search/distributed_search_planner.rb +17 -5
  24. data/lib/droonga/plugins/system/statistics.rb +1 -0
  25. data/lib/droonga/searcher.rb +13 -4
  26. data/test/command/config/single_slice/catalog.json +38 -0
  27. data/test/command/config/single_slice/droonga-engine.yaml +4 -0
  28. data/test/command/run-test.rb +3 -2
  29. data/test/command/suite/catalog/fetch.expected.single_slice +50 -0
  30. data/test/command/suite/dump/column/index.expected.single_slice +86 -0
  31. data/test/command/suite/dump/column/scalar.expected.single_slice +52 -0
  32. data/test/command/suite/dump/column/vector.expected.single_slice +55 -0
  33. data/test/command/suite/dump/record/scalar.expected.single_slice +52 -0
  34. data/test/command/suite/dump/record/vector/reference.expected.single_slice +117 -0
  35. data/test/command/suite/dump/table/array.expected.single_slice +39 -0
  36. data/test/command/suite/dump/table/double_array_trie.expected.single_slice +40 -0
  37. data/test/command/suite/dump/table/hash.expected.single_slice +40 -0
  38. data/test/command/suite/dump/table/patricia_trie.expected.single_slice +40 -0
  39. data/test/command/suite/message/error/missing-dataset.test +3 -0
  40. data/test/command/suite/search/condition/query/nonexistent_column.expected.single_slice +26 -0
  41. data/test/command/suite/search/condition/query/syntax_error.expected.single_slice +26 -0
  42. data/test/command/suite/search/error/unknown-source.expected.single_slice +28 -0
  43. data/test/command/suite/search/output/attributes/invalid.expected.single_slice +24 -0
  44. data/test/command/suite/system/absorb-data/records.catalog.json.single_slice +44 -0
  45. data/test/command/suite/system/absorb-data/records.expected.single_slice +32 -0
  46. data/test/command/suite/system/statistics/object/count/per-volume/empty.test +1 -0
  47. data/test/command/suite/system/statistics/object/count/record.expected.single_slice +11 -0
  48. data/test/command/suite/system/statistics/object/count/schema.expected.single_slice +11 -0
  49. data/test/unit/catalog/test_generator.rb +3 -2
  50. data/test/unit/helper.rb +2 -1
  51. data/test/unit/helper/stub_serf.rb +28 -0
  52. data/test/unit/plugins/system/statistics/test_object_count.rb +135 -0
  53. data/test/unit/plugins/system/statistics/test_object_count_per_volume.rb +149 -0
  54. data/test/unit/plugins/test_basic.rb +0 -406
  55. data/test/unit/test_address.rb +111 -10
  56. data/test/unit/test_cluster.rb +232 -0
  57. data/test/unit/test_differ.rb +49 -0
  58. data/test/unit/test_engine_node.rb +556 -0
  59. data/test/unit/test_engine_state.rb +151 -0
  60. data/test/unit/test_forward_buffer.rb +106 -0
  61. data/test/unit/test_node_name.rb +160 -0
  62. data/test/unit/test_node_role.rb +53 -0
  63. data/test/unit/test_reducer.rb +525 -0
  64. metadata +111 -49
metadata CHANGED
@@ -1,293 +1,293 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: droonga-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Droonga Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-29 00:00:00.000000000 Z
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: archive-zip
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cool.io
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.3.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.3.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: drndump
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 1.0.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.0.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: droonga-client
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: 0.1.9
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.1.9
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: droonga-message-pack-packer
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: 1.0.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.0.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: groonga-command-parser
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: faraday
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: faraday_middleware
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: json
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: rroonga
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: 4.0.4
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 4.0.4
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: sigdump
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - '>='
157
+ - - ">="
158
158
  - !ruby/object:Gem::Version
159
159
  version: '0'
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - '>='
164
+ - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: slop
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - <=
171
+ - - "<="
172
172
  - !ruby/object:Gem::Version
173
173
  version: 3.6.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - <=
178
+ - - "<="
179
179
  - !ruby/object:Gem::Version
180
180
  version: 3.6.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: sys-proctable
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '>='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: kramdown
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - '>='
199
+ - - ">="
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - '>='
206
+ - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: bundler
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
- - - '>='
213
+ - - ">="
214
214
  - !ruby/object:Gem::Version
215
215
  version: '0'
216
216
  type: :development
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - '>='
220
+ - - ">="
221
221
  - !ruby/object:Gem::Version
222
222
  version: '0'
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: packnga
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
- - - '>='
227
+ - - ">="
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  type: :development
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
- - - '>='
234
+ - - ">="
235
235
  - !ruby/object:Gem::Version
236
236
  version: '0'
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: rake
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
- - - '>='
241
+ - - ">="
242
242
  - !ruby/object:Gem::Version
243
243
  version: '0'
244
244
  type: :development
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
- - - '>='
248
+ - - ">="
249
249
  - !ruby/object:Gem::Version
250
250
  version: '0'
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: test-unit
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
- - - '>='
255
+ - - ">="
256
256
  - !ruby/object:Gem::Version
257
257
  version: '0'
258
258
  type: :development
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
- - - '>='
262
+ - - ">="
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: test-unit-notify
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
- - - '>='
269
+ - - ">="
270
270
  - !ruby/object:Gem::Version
271
271
  version: '0'
272
272
  type: :development
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
- - - '>='
276
+ - - ">="
277
277
  - !ruby/object:Gem::Version
278
278
  version: '0'
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: test-unit-rr
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
- - - '>='
283
+ - - ">="
284
284
  - !ruby/object:Gem::Version
285
285
  version: '0'
286
286
  type: :development
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
- - - '>='
290
+ - - ">="
291
291
  - !ruby/object:Gem::Version
292
292
  version: '0'
293
293
  description: Droonga engine is a core component in Droonga system. Droonga is a scalable
@@ -309,10 +309,10 @@ executables:
309
309
  extensions: []
310
310
  extra_rdoc_files: []
311
311
  files:
312
- - .dir-locals.el
313
- - .gitignore
314
- - .travis.yml
315
- - .yardopts
312
+ - ".dir-locals.el"
313
+ - ".gitignore"
314
+ - ".travis.yml"
315
+ - ".yardopts"
316
316
  - Gemfile
317
317
  - LICENSE.txt
318
318
  - README.md
@@ -491,6 +491,8 @@ files:
491
491
  - sample/mecab_filter/search_without_mecab_filter.json
492
492
  - test/command/config/default/catalog.json
493
493
  - test/command/config/default/droonga-engine.yaml
494
+ - test/command/config/single_slice/catalog.json
495
+ - test/command/config/single_slice/droonga-engine.yaml
494
496
  - test/command/config/version1/catalog.json
495
497
  - test/command/fixture/documents.jsons
496
498
  - test/command/fixture/event.jsons
@@ -536,33 +538,43 @@ files:
536
538
  - test/command/suite/add/without-values.expected
537
539
  - test/command/suite/add/without-values.test
538
540
  - test/command/suite/catalog/fetch.expected
541
+ - test/command/suite/catalog/fetch.expected.single_slice
539
542
  - test/command/suite/catalog/fetch.test
540
543
  - test/command/suite/dump/column/index.catalog.json
541
544
  - test/command/suite/dump/column/index.expected
545
+ - test/command/suite/dump/column/index.expected.single_slice
542
546
  - test/command/suite/dump/column/index.test
543
547
  - test/command/suite/dump/column/scalar.catalog.json
544
548
  - test/command/suite/dump/column/scalar.expected
549
+ - test/command/suite/dump/column/scalar.expected.single_slice
545
550
  - test/command/suite/dump/column/scalar.test
546
551
  - test/command/suite/dump/column/vector.catalog.json
547
552
  - test/command/suite/dump/column/vector.expected
553
+ - test/command/suite/dump/column/vector.expected.single_slice
548
554
  - test/command/suite/dump/column/vector.test
549
555
  - test/command/suite/dump/record/scalar.catalog.json
550
556
  - test/command/suite/dump/record/scalar.expected
557
+ - test/command/suite/dump/record/scalar.expected.single_slice
551
558
  - test/command/suite/dump/record/scalar.test
552
559
  - test/command/suite/dump/record/vector/reference.catalog.json
553
560
  - test/command/suite/dump/record/vector/reference.expected
561
+ - test/command/suite/dump/record/vector/reference.expected.single_slice
554
562
  - test/command/suite/dump/record/vector/reference.test
555
563
  - test/command/suite/dump/table/array.catalog.json
556
564
  - test/command/suite/dump/table/array.expected
565
+ - test/command/suite/dump/table/array.expected.single_slice
557
566
  - test/command/suite/dump/table/array.test
558
567
  - test/command/suite/dump/table/double_array_trie.catalog.json
559
568
  - test/command/suite/dump/table/double_array_trie.expected
569
+ - test/command/suite/dump/table/double_array_trie.expected.single_slice
560
570
  - test/command/suite/dump/table/double_array_trie.test
561
571
  - test/command/suite/dump/table/hash.catalog.json
562
572
  - test/command/suite/dump/table/hash.expected
573
+ - test/command/suite/dump/table/hash.expected.single_slice
563
574
  - test/command/suite/dump/table/hash.test
564
575
  - test/command/suite/dump/table/patricia_trie.catalog.json
565
576
  - test/command/suite/dump/table/patricia_trie.expected
577
+ - test/command/suite/dump/table/patricia_trie.expected.single_slice
566
578
  - test/command/suite/dump/table/patricia_trie.test
567
579
  - test/command/suite/groonga/column_create/scalar.expected
568
580
  - test/command/suite/groonga/column_create/scalar.test
@@ -661,9 +673,11 @@ files:
661
673
  - test/command/suite/search/condition/query.test
662
674
  - test/command/suite/search/condition/query/nonexistent_column.catalog.json
663
675
  - test/command/suite/search/condition/query/nonexistent_column.expected
676
+ - test/command/suite/search/condition/query/nonexistent_column.expected.single_slice
664
677
  - test/command/suite/search/condition/query/nonexistent_column.test
665
678
  - test/command/suite/search/condition/query/syntax_error.catalog.json
666
679
  - test/command/suite/search/condition/query/syntax_error.expected
680
+ - test/command/suite/search/condition/query/syntax_error.expected.single_slice
667
681
  - test/command/suite/search/condition/query/syntax_error.test
668
682
  - test/command/suite/search/condition/script.catalog.json
669
683
  - test/command/suite/search/condition/script.expected
@@ -677,6 +691,7 @@ files:
677
691
  - test/command/suite/search/error/no-query.expected
678
692
  - test/command/suite/search/error/no-query.test
679
693
  - test/command/suite/search/error/unknown-source.expected
694
+ - test/command/suite/search/error/unknown-source.expected.single_slice
680
695
  - test/command/suite/search/error/unknown-source.test
681
696
  - test/command/suite/search/group/count.expected
682
697
  - test/command/suite/search/group/count.test
@@ -695,6 +710,7 @@ files:
695
710
  - test/command/suite/search/multiple/parallel.test
696
711
  - test/command/suite/search/output/attributes/invalid.catalog.json
697
712
  - test/command/suite/search/output/attributes/invalid.expected
713
+ - test/command/suite/search/output/attributes/invalid.expected.single_slice
698
714
  - test/command/suite/search/output/attributes/invalid.test
699
715
  - test/command/suite/search/output/attributes/reference_vector.catalog.json
700
716
  - test/command/suite/search/output/attributes/reference_vector.expected
@@ -724,7 +740,9 @@ files:
724
740
  - test/command/suite/search/sort/invisible-column.expected
725
741
  - test/command/suite/search/sort/invisible-column.test
726
742
  - test/command/suite/system/absorb-data/records.catalog.json
743
+ - test/command/suite/system/absorb-data/records.catalog.json.single_slice
727
744
  - test/command/suite/system/absorb-data/records.expected
745
+ - test/command/suite/system/absorb-data/records.expected.single_slice
728
746
  - test/command/suite/system/absorb-data/records.test
729
747
  - test/command/suite/system/statistics/object/count/empty.expected
730
748
  - test/command/suite/system/statistics/object/count/empty.test
@@ -739,9 +757,11 @@ files:
739
757
  - test/command/suite/system/statistics/object/count/per-volume/schema.test
740
758
  - test/command/suite/system/statistics/object/count/record.catalog.json
741
759
  - test/command/suite/system/statistics/object/count/record.expected
760
+ - test/command/suite/system/statistics/object/count/record.expected.single_slice
742
761
  - test/command/suite/system/statistics/object/count/record.test
743
762
  - test/command/suite/system/statistics/object/count/schema.catalog.json
744
763
  - test/command/suite/system/statistics/object/count/schema.expected
764
+ - test/command/suite/system/statistics/object/count/schema.expected.single_slice
745
765
  - test/command/suite/system/statistics/object/count/schema.test
746
766
  - test/command/suite/system/status.expected
747
767
  - test/command/suite/system/status.test
@@ -777,6 +797,7 @@ files:
777
797
  - test/unit/helper/fixture.rb
778
798
  - test/unit/helper/plugin_helper.rb
779
799
  - test/unit/helper/sandbox.rb
800
+ - test/unit/helper/stub_serf.rb
780
801
  - test/unit/helper/stub_worker.rb
781
802
  - test/unit/helper/watch_helper.rb
782
803
  - test/unit/plugins/catalog/test_fetch.rb
@@ -798,14 +819,24 @@ files:
798
819
  - test/unit/plugins/search/test_collector.rb
799
820
  - test/unit/plugins/search/test_handler.rb
800
821
  - test/unit/plugins/search/test_planner.rb
822
+ - test/unit/plugins/system/statistics/test_object_count.rb
823
+ - test/unit/plugins/system/statistics/test_object_count_per_volume.rb
801
824
  - test/unit/plugins/system/test_status.rb
802
825
  - test/unit/plugins/test_basic.rb
803
826
  - test/unit/plugins/test_groonga.rb
804
827
  - test/unit/plugins/test_watch.rb
805
828
  - test/unit/run-test.rb
806
829
  - test/unit/test_address.rb
830
+ - test/unit/test_cluster.rb
831
+ - test/unit/test_differ.rb
832
+ - test/unit/test_engine_node.rb
833
+ - test/unit/test_engine_state.rb
834
+ - test/unit/test_forward_buffer.rb
807
835
  - test/unit/test_line_buffer.rb
808
836
  - test/unit/test_message_matcher.rb
837
+ - test/unit/test_node_name.rb
838
+ - test/unit/test_node_role.rb
839
+ - test/unit/test_reducer.rb
809
840
  - test/unit/test_schema_applier.rb
810
841
  - test/unit/test_sweeper.rb
811
842
  - test/unit/test_watch_schema.rb
@@ -819,23 +850,25 @@ require_paths:
819
850
  - lib
820
851
  required_ruby_version: !ruby/object:Gem::Requirement
821
852
  requirements:
822
- - - '>='
853
+ - - ">="
823
854
  - !ruby/object:Gem::Version
824
855
  version: '0'
825
856
  required_rubygems_version: !ruby/object:Gem::Requirement
826
857
  requirements:
827
- - - '>='
858
+ - - ">="
828
859
  - !ruby/object:Gem::Version
829
860
  version: '0'
830
861
  requirements: []
831
862
  rubyforge_project:
832
- rubygems_version: 2.4.1
863
+ rubygems_version: 2.2.2
833
864
  signing_key:
834
865
  specification_version: 4
835
866
  summary: Droonga engine
836
867
  test_files:
837
868
  - test/command/config/default/catalog.json
838
869
  - test/command/config/default/droonga-engine.yaml
870
+ - test/command/config/single_slice/catalog.json
871
+ - test/command/config/single_slice/droonga-engine.yaml
839
872
  - test/command/config/version1/catalog.json
840
873
  - test/command/fixture/documents.jsons
841
874
  - test/command/fixture/event.jsons
@@ -881,33 +914,43 @@ test_files:
881
914
  - test/command/suite/add/without-values.expected
882
915
  - test/command/suite/add/without-values.test
883
916
  - test/command/suite/catalog/fetch.expected
917
+ - test/command/suite/catalog/fetch.expected.single_slice
884
918
  - test/command/suite/catalog/fetch.test
885
919
  - test/command/suite/dump/column/index.catalog.json
886
920
  - test/command/suite/dump/column/index.expected
921
+ - test/command/suite/dump/column/index.expected.single_slice
887
922
  - test/command/suite/dump/column/index.test
888
923
  - test/command/suite/dump/column/scalar.catalog.json
889
924
  - test/command/suite/dump/column/scalar.expected
925
+ - test/command/suite/dump/column/scalar.expected.single_slice
890
926
  - test/command/suite/dump/column/scalar.test
891
927
  - test/command/suite/dump/column/vector.catalog.json
892
928
  - test/command/suite/dump/column/vector.expected
929
+ - test/command/suite/dump/column/vector.expected.single_slice
893
930
  - test/command/suite/dump/column/vector.test
894
931
  - test/command/suite/dump/record/scalar.catalog.json
895
932
  - test/command/suite/dump/record/scalar.expected
933
+ - test/command/suite/dump/record/scalar.expected.single_slice
896
934
  - test/command/suite/dump/record/scalar.test
897
935
  - test/command/suite/dump/record/vector/reference.catalog.json
898
936
  - test/command/suite/dump/record/vector/reference.expected
937
+ - test/command/suite/dump/record/vector/reference.expected.single_slice
899
938
  - test/command/suite/dump/record/vector/reference.test
900
939
  - test/command/suite/dump/table/array.catalog.json
901
940
  - test/command/suite/dump/table/array.expected
941
+ - test/command/suite/dump/table/array.expected.single_slice
902
942
  - test/command/suite/dump/table/array.test
903
943
  - test/command/suite/dump/table/double_array_trie.catalog.json
904
944
  - test/command/suite/dump/table/double_array_trie.expected
945
+ - test/command/suite/dump/table/double_array_trie.expected.single_slice
905
946
  - test/command/suite/dump/table/double_array_trie.test
906
947
  - test/command/suite/dump/table/hash.catalog.json
907
948
  - test/command/suite/dump/table/hash.expected
949
+ - test/command/suite/dump/table/hash.expected.single_slice
908
950
  - test/command/suite/dump/table/hash.test
909
951
  - test/command/suite/dump/table/patricia_trie.catalog.json
910
952
  - test/command/suite/dump/table/patricia_trie.expected
953
+ - test/command/suite/dump/table/patricia_trie.expected.single_slice
911
954
  - test/command/suite/dump/table/patricia_trie.test
912
955
  - test/command/suite/groonga/column_create/scalar.expected
913
956
  - test/command/suite/groonga/column_create/scalar.test
@@ -1006,9 +1049,11 @@ test_files:
1006
1049
  - test/command/suite/search/condition/query.test
1007
1050
  - test/command/suite/search/condition/query/nonexistent_column.catalog.json
1008
1051
  - test/command/suite/search/condition/query/nonexistent_column.expected
1052
+ - test/command/suite/search/condition/query/nonexistent_column.expected.single_slice
1009
1053
  - test/command/suite/search/condition/query/nonexistent_column.test
1010
1054
  - test/command/suite/search/condition/query/syntax_error.catalog.json
1011
1055
  - test/command/suite/search/condition/query/syntax_error.expected
1056
+ - test/command/suite/search/condition/query/syntax_error.expected.single_slice
1012
1057
  - test/command/suite/search/condition/query/syntax_error.test
1013
1058
  - test/command/suite/search/condition/script.catalog.json
1014
1059
  - test/command/suite/search/condition/script.expected
@@ -1022,6 +1067,7 @@ test_files:
1022
1067
  - test/command/suite/search/error/no-query.expected
1023
1068
  - test/command/suite/search/error/no-query.test
1024
1069
  - test/command/suite/search/error/unknown-source.expected
1070
+ - test/command/suite/search/error/unknown-source.expected.single_slice
1025
1071
  - test/command/suite/search/error/unknown-source.test
1026
1072
  - test/command/suite/search/group/count.expected
1027
1073
  - test/command/suite/search/group/count.test
@@ -1040,6 +1086,7 @@ test_files:
1040
1086
  - test/command/suite/search/multiple/parallel.test
1041
1087
  - test/command/suite/search/output/attributes/invalid.catalog.json
1042
1088
  - test/command/suite/search/output/attributes/invalid.expected
1089
+ - test/command/suite/search/output/attributes/invalid.expected.single_slice
1043
1090
  - test/command/suite/search/output/attributes/invalid.test
1044
1091
  - test/command/suite/search/output/attributes/reference_vector.catalog.json
1045
1092
  - test/command/suite/search/output/attributes/reference_vector.expected
@@ -1069,7 +1116,9 @@ test_files:
1069
1116
  - test/command/suite/search/sort/invisible-column.expected
1070
1117
  - test/command/suite/search/sort/invisible-column.test
1071
1118
  - test/command/suite/system/absorb-data/records.catalog.json
1119
+ - test/command/suite/system/absorb-data/records.catalog.json.single_slice
1072
1120
  - test/command/suite/system/absorb-data/records.expected
1121
+ - test/command/suite/system/absorb-data/records.expected.single_slice
1073
1122
  - test/command/suite/system/absorb-data/records.test
1074
1123
  - test/command/suite/system/statistics/object/count/empty.expected
1075
1124
  - test/command/suite/system/statistics/object/count/empty.test
@@ -1084,9 +1133,11 @@ test_files:
1084
1133
  - test/command/suite/system/statistics/object/count/per-volume/schema.test
1085
1134
  - test/command/suite/system/statistics/object/count/record.catalog.json
1086
1135
  - test/command/suite/system/statistics/object/count/record.expected
1136
+ - test/command/suite/system/statistics/object/count/record.expected.single_slice
1087
1137
  - test/command/suite/system/statistics/object/count/record.test
1088
1138
  - test/command/suite/system/statistics/object/count/schema.catalog.json
1089
1139
  - test/command/suite/system/statistics/object/count/schema.expected
1140
+ - test/command/suite/system/statistics/object/count/schema.expected.single_slice
1090
1141
  - test/command/suite/system/statistics/object/count/schema.test
1091
1142
  - test/command/suite/system/status.expected
1092
1143
  - test/command/suite/system/status.test
@@ -1122,6 +1173,7 @@ test_files:
1122
1173
  - test/unit/helper/fixture.rb
1123
1174
  - test/unit/helper/plugin_helper.rb
1124
1175
  - test/unit/helper/sandbox.rb
1176
+ - test/unit/helper/stub_serf.rb
1125
1177
  - test/unit/helper/stub_worker.rb
1126
1178
  - test/unit/helper/watch_helper.rb
1127
1179
  - test/unit/plugins/catalog/test_fetch.rb
@@ -1143,14 +1195,24 @@ test_files:
1143
1195
  - test/unit/plugins/search/test_collector.rb
1144
1196
  - test/unit/plugins/search/test_handler.rb
1145
1197
  - test/unit/plugins/search/test_planner.rb
1198
+ - test/unit/plugins/system/statistics/test_object_count.rb
1199
+ - test/unit/plugins/system/statistics/test_object_count_per_volume.rb
1146
1200
  - test/unit/plugins/system/test_status.rb
1147
1201
  - test/unit/plugins/test_basic.rb
1148
1202
  - test/unit/plugins/test_groonga.rb
1149
1203
  - test/unit/plugins/test_watch.rb
1150
1204
  - test/unit/run-test.rb
1151
1205
  - test/unit/test_address.rb
1206
+ - test/unit/test_cluster.rb
1207
+ - test/unit/test_differ.rb
1208
+ - test/unit/test_engine_node.rb
1209
+ - test/unit/test_engine_state.rb
1210
+ - test/unit/test_forward_buffer.rb
1152
1211
  - test/unit/test_line_buffer.rb
1153
1212
  - test/unit/test_message_matcher.rb
1213
+ - test/unit/test_node_name.rb
1214
+ - test/unit/test_node_role.rb
1215
+ - test/unit/test_reducer.rb
1154
1216
  - test/unit/test_schema_applier.rb
1155
1217
  - test/unit/test_sweeper.rb
1156
1218
  - test/unit/test_watch_schema.rb