groonga-query-log 1.4.9 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/text/news.md +8 -0
- data/groonga-query-log.gemspec +1 -3
- data/lib/groonga-query-log/response-comparer.rb +62 -56
- data/lib/groonga-query-log/version.rb +1 -1
- data/test/fixtures/run-regression-test/db.new/db +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000000 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000100 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000101 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000102 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000103 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.0000103.c +0 -0
- data/test/fixtures/run-regression-test/db.new/db.001 +0 -0
- data/test/fixtures/run-regression-test/db.new/db.conf +0 -0
- data/test/fixtures/run-regression-test/db.new/groonga.log +165 -0
- data/test/fixtures/run-regression-test/db.old/db +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000000 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000100 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000101 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000102 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000103 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.0000103.c +0 -0
- data/test/fixtures/run-regression-test/db.old/db.001 +0 -0
- data/test/fixtures/run-regression-test/db.old/db.conf +0 -0
- data/test/fixtures/run-regression-test/db.old/groonga.log +79 -0
- data/test/fixtures/run-regression-test/results/query.log +0 -0
- data/test/test-response-comparer.rb +120 -2
- metadata +85 -70
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e5e2f03ee0d69ce3ce9307fb065063775ac0cb299fb16408086e12cbb5311db
|
4
|
+
data.tar.gz: 5fbd28123f5fb403eefd731f65ec5c2fe2256e78520bff91f08a7765b9756e49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0759f40204bb4f4755633a9a6e873a597000098f3e688c8e457e17985748a577b018299653960cff9ab565d7f61e112794ebd91c5ce9a81d93e540997b6dc3e
|
7
|
+
data.tar.gz: dc56a05c1c4d4f4241c54b17ad8e04edf608bc2fec6e015b8d8383ef3cbbcc9fd582a60d5487948db5c006151668ff621a10240f850636199a6c91af590541f4
|
data/doc/text/news.md
CHANGED
data/groonga-query-log.gemspec
CHANGED
@@ -53,9 +53,7 @@ Gem::Specification.new do |spec|
|
|
53
53
|
spec.require_paths = ["lib"]
|
54
54
|
|
55
55
|
spec.add_runtime_dependency("diff-lcs")
|
56
|
-
spec.add_runtime_dependency("groonga-client")
|
57
|
-
spec.add_runtime_dependency("groonga-command", ">= 1.4.2")
|
58
|
-
spec.add_runtime_dependency("groonga-command-parser")
|
56
|
+
spec.add_runtime_dependency("groonga-client", ">= 0.6.2")
|
59
57
|
spec.add_runtime_dependency("groonga-log", ">= 0.1.2")
|
60
58
|
|
61
59
|
spec.add_development_dependency("test-unit")
|
@@ -36,6 +36,8 @@ module GroongaQueryLog
|
|
36
36
|
case @command.name
|
37
37
|
when "select", "logical_select"
|
38
38
|
same_select_response?
|
39
|
+
when "logical_range_filter"
|
40
|
+
same_range_filter_response?
|
39
41
|
when "status"
|
40
42
|
same_cache_hit_rate?
|
41
43
|
else
|
@@ -74,6 +76,16 @@ module GroongaQueryLog
|
|
74
76
|
end
|
75
77
|
end
|
76
78
|
|
79
|
+
def same_range_filter_response?
|
80
|
+
if all_output_columns?
|
81
|
+
same_records_all_output_columns?
|
82
|
+
elsif have_unary_minus_output_column?
|
83
|
+
same_records_unary_minus_output_column?
|
84
|
+
else
|
85
|
+
same_records?
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
77
89
|
def same_cache_hit_rate?
|
78
90
|
cache_hit_rate1 = @response1.body["cache_hit_rate"]
|
79
91
|
cache_hit_rate2 = @response2.body["cache_hit_rate"]
|
@@ -105,16 +117,18 @@ module GroongaQueryLog
|
|
105
117
|
end
|
106
118
|
|
107
119
|
def same_size_response?
|
108
|
-
|
109
|
-
|
110
|
-
return false if
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
120
|
+
records1 = @response1.raw_records
|
121
|
+
records2 = @response2.raw_records
|
122
|
+
return false if records1.size != records2.size
|
123
|
+
|
124
|
+
if @response1.respond_to?(:n_hits)
|
125
|
+
n_hits1 = @response1.n_hits
|
126
|
+
n_hits2 = @response2.n_hits
|
127
|
+
return false if n_hits1 != n_hits2
|
128
|
+
end
|
115
129
|
|
116
|
-
columns1 = normalize_columns(
|
117
|
-
columns2 = normalize_columns(
|
130
|
+
columns1 = normalize_columns(@response1.raw_columns)
|
131
|
+
columns2 = normalize_columns(@response2.raw_columns)
|
118
132
|
if all_output_columns?
|
119
133
|
columns1.sort_by(&:first) == columns2.sort_by(&:first)
|
120
134
|
else
|
@@ -129,18 +143,18 @@ module GroongaQueryLog
|
|
129
143
|
end
|
130
144
|
|
131
145
|
def same_records_unary_minus_output_column?
|
132
|
-
|
133
|
-
|
134
|
-
return false if
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
146
|
+
records1 = @response1.raw_records
|
147
|
+
records2 = @response2.raw_records
|
148
|
+
return false if records1.size != records2.size
|
149
|
+
|
150
|
+
if @response1.respond_to?(:n_hits)
|
151
|
+
n_hits1 = @response1.n_hits
|
152
|
+
n_hits2 = @response2.n_hits
|
153
|
+
return false if n_hits1 != n_hits2
|
154
|
+
end
|
139
155
|
|
140
|
-
columns1 = normalize_columns(
|
141
|
-
columns2 = normalize_columns(
|
142
|
-
records1 = records_result1[2..-1]
|
143
|
-
records2 = records_result2[2..-1]
|
156
|
+
columns1 = normalize_columns(@response1.raw_columns)
|
157
|
+
columns2 = normalize_columns(@response2.raw_columns)
|
144
158
|
|
145
159
|
if columns1.size != columns2.size
|
146
160
|
if columns2.size > columns1.size
|
@@ -177,23 +191,23 @@ module GroongaQueryLog
|
|
177
191
|
end
|
178
192
|
|
179
193
|
def same_records_all_output_columns?
|
180
|
-
|
181
|
-
|
182
|
-
return false if
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
194
|
+
records1 = @response1.raw_records
|
195
|
+
records2 = @response2.raw_records
|
196
|
+
return false if records1.size != records2.size
|
197
|
+
|
198
|
+
if @response1.respond_to?(:n_hits)
|
199
|
+
n_hits1 = @response1.n_hits
|
200
|
+
n_hits2 = @response2.n_hits
|
201
|
+
return false if n_hits1 != n_hits2
|
202
|
+
end
|
187
203
|
|
188
|
-
columns1 = normalize_columns(
|
189
|
-
columns2 = normalize_columns(
|
204
|
+
columns1 = normalize_columns(@response1.raw_columns)
|
205
|
+
columns2 = normalize_columns(@response2.raw_columns)
|
190
206
|
return false if columns1.sort_by(&:first) != columns2.sort_by(&:first)
|
191
207
|
|
192
208
|
column_to_index1 = make_column_to_index_map(columns1)
|
193
209
|
column_to_index2 = make_column_to_index_map(columns2)
|
194
210
|
|
195
|
-
records1 = records_result1[2..-1]
|
196
|
-
records2 = records_result2[2..-1]
|
197
211
|
sort_keys = @command.sort_keys
|
198
212
|
if @command.respond_to?(:shard_key)
|
199
213
|
shard_key = @command.shard_key
|
@@ -219,25 +233,24 @@ module GroongaQueryLog
|
|
219
233
|
end
|
220
234
|
|
221
235
|
def same_records?
|
222
|
-
|
223
|
-
record_set2 = @response2.body[0] || []
|
224
|
-
same_record_set?(record_set1,
|
225
|
-
record_set2)
|
236
|
+
same_record_set?(@response1, @response2)
|
226
237
|
end
|
227
238
|
|
228
239
|
def same_record_set?(record_set1, record_set2)
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
240
|
+
records1 = record_set1.raw_records
|
241
|
+
records2 = record_set2.raw_records
|
242
|
+
return false if records1.size != records2.size
|
243
|
+
|
244
|
+
if record_set1.respond_to?(:n_hits)
|
245
|
+
n_hits1 = record_set1.n_hits
|
246
|
+
n_hits2 = record_set2.n_hits
|
247
|
+
return false if n_hits1 != n_hits2
|
248
|
+
end
|
234
249
|
|
235
|
-
columns1 = normalize_columns(record_set1
|
236
|
-
columns2 = normalize_columns(record_set2
|
250
|
+
columns1 = normalize_columns(record_set1.raw_columns)
|
251
|
+
columns2 = normalize_columns(record_set2.raw_columns)
|
237
252
|
return false if columns1 != columns2
|
238
253
|
|
239
|
-
records1 = record_set1[2..-1]
|
240
|
-
records2 = record_set2[2..-1]
|
241
254
|
records1.each_with_index do |record1, record_index|
|
242
255
|
record2 = records2[record_index]
|
243
256
|
columns1.each_with_index do |column1, column_index|
|
@@ -313,29 +326,22 @@ module GroongaQueryLog
|
|
313
326
|
end
|
314
327
|
|
315
328
|
def same_drilldowns?
|
316
|
-
drilldowns1 = @response1.
|
317
|
-
drilldowns2 = @response2.
|
329
|
+
drilldowns1 = @response1.drilldowns
|
330
|
+
drilldowns2 = @response2.drilldowns
|
318
331
|
return false if drilldowns1.size != drilldowns2.size
|
319
|
-
drilldown_classes1 = drilldowns1.collect(&:class)
|
320
|
-
drilldown_classes2 = drilldowns2.collect(&:class)
|
321
|
-
return false if drilldown_classes1 != drilldown_classes2
|
322
332
|
|
323
333
|
ignored_drilldown_keys = @options[:ignored_drilldown_keys]
|
324
334
|
|
325
|
-
if
|
326
|
-
drilldowns1 = drilldowns1[0]
|
327
|
-
drilldowns2 = drilldowns2[0]
|
335
|
+
if drilldowns1.is_a?(::Hash)
|
328
336
|
drilldowns1.each do |drilldown_label, drilldown1|
|
329
337
|
next if ignored_drilldown_keys.include?(drilldown_label)
|
330
338
|
drilldown2 = drilldowns2[drilldown_label]
|
331
339
|
return false unless same_record_set?(drilldown1, drilldown2)
|
332
340
|
end
|
333
341
|
else
|
334
|
-
|
335
|
-
|
336
|
-
drilldown_key = drilldown_keys[drilldown_index]
|
342
|
+
drilldowns1.zip(drilldowns2) do |drilldown1, drilldown2|
|
343
|
+
drilldown_key = drilldown1.key
|
337
344
|
next if ignored_drilldown_keys.include?(drilldown_key)
|
338
|
-
drilldown2 = drilldowns2[drilldown_index]
|
339
345
|
return false unless same_record_set?(drilldown1, drilldown2)
|
340
346
|
end
|
341
347
|
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,165 @@
|
|
1
|
+
2017-04-24 11:06:45.783903|n| grn_init: <7.0.1-105-gf940037>
|
2
|
+
2017-04-24 11:06:45.783995|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
3
|
+
2017-04-24 11:06:45.785696|n| DDL:256:table_create Entries
|
4
|
+
2017-04-24 11:06:45.832240|n| spec:256:update:Entries:48(table:hash_key):0
|
5
|
+
2017-04-24 11:06:45.832566|n| DDL:257:column_create Entries description
|
6
|
+
2017-04-24 11:06:45.882379|n| spec:257:update:Entries.description:65(column:var_size):15(Text)
|
7
|
+
2017-04-24 11:06:45.902188|n| grn_fin (0)
|
8
|
+
2017-04-24 11:06:45.911851|n| grn_init: <7.0.1-105-gf940037>
|
9
|
+
2017-04-24 11:06:45.911981|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
10
|
+
2017-04-24 11:06:45.927281|n| grn_fin (0)
|
11
|
+
2017-04-24 11:06:45.938921|n| grn_init: <7.0.1-105-gf940037>
|
12
|
+
2017-04-24 11:06:45.939085|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
13
|
+
2017-04-24 11:06:45.943080|n| DDL:258:table_create Bigram
|
14
|
+
2017-04-24 11:06:45.990956|n| spec:258:update:Bigram:49(table:pat_key):0
|
15
|
+
2017-04-24 11:06:45.991456|n| DDL:259:column_create Bigram Entries_description
|
16
|
+
2017-04-24 11:06:46.084367|n| spec:259:update:Bigram.Entries_description:72(column:index):256(Entries)
|
17
|
+
2017-04-24 11:06:46.099864|n| DDL:259:set_source Bigram.Entries_description Entries.description
|
18
|
+
2017-04-24 11:06:46.099925|n| spec:257:update:Entries.description:65(column:var_size):15(Text)
|
19
|
+
2017-04-24 11:06:46.104701|n| spec:259:update:Bigram.Entries_description:72(column:index):256(Entries)
|
20
|
+
2017-04-24 11:06:46.113406|n| grn_fin (0)
|
21
|
+
2017-04-24 11:06:46.117714|n| grn_init: <7.0.1-105-gf940037>
|
22
|
+
2017-04-24 11:06:46.117765|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
23
|
+
2017-04-24 11:06:46.117899|n| RLIMIT_NOFILE(4096,4096)
|
24
|
+
2017-04-24 11:06:47.117263|n| thread start (0/1)
|
25
|
+
2017-04-24 11:06:47.495184|n| thread end (0/0)
|
26
|
+
2017-04-24 11:06:47.498054|n| grn_fin (0)
|
27
|
+
2017-04-24 11:07:45.262160|n| grn_init: <7.0.1-105-gf940037>
|
28
|
+
2017-04-24 11:07:45.262192|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
29
|
+
2017-04-24 11:07:45.262282|n| RLIMIT_NOFILE(4096,4096)
|
30
|
+
2017-04-24 11:07:46.261844|n| thread start (0/1)
|
31
|
+
2017-04-24 11:07:46.580606|n| thread end (0/0)
|
32
|
+
2017-04-24 11:07:46.583733|n| grn_fin (0)
|
33
|
+
2017-04-24 11:07:46.586691|n| grn_init: <7.0.1-105-gf940037>
|
34
|
+
2017-04-24 11:07:46.586724|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
35
|
+
2017-04-24 11:07:46.586809|n| RLIMIT_NOFILE(4096,4096)
|
36
|
+
2017-04-24 11:07:47.585962|n| thread start (0/1)
|
37
|
+
2017-04-24 11:07:48.028639|n| thread end (0/0)
|
38
|
+
2017-04-24 11:07:48.030048|n| grn_fin (0)
|
39
|
+
2017-04-24 11:07:48.034362|n| grn_init: <7.0.1-105-gf940037>
|
40
|
+
2017-04-24 11:07:48.034410|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
41
|
+
2017-04-24 11:07:48.034549|n| RLIMIT_NOFILE(4096,4096)
|
42
|
+
2017-04-24 11:07:49.032453|n| thread start (0/1)
|
43
|
+
2017-04-24 11:07:49.195891|n| thread end (0/0)
|
44
|
+
2017-04-24 11:07:49.196755|n| grn_fin (0)
|
45
|
+
2017-04-24 11:10:47.018307|n| grn_init: <7.0.1-105-gf940037>
|
46
|
+
2017-04-24 11:10:47.018349|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
47
|
+
2017-04-24 11:10:47.018437|n| RLIMIT_NOFILE(4096,4096)
|
48
|
+
2017-04-24 11:10:48.017869|n| thread start (0/1)
|
49
|
+
2017-04-24 11:10:48.313167|n| thread end (0/0)
|
50
|
+
2017-04-24 11:10:48.314042|n| grn_fin (0)
|
51
|
+
2017-04-24 11:10:48.316882|n| grn_init: <7.0.1-105-gf940037>
|
52
|
+
2017-04-24 11:10:48.316926|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
53
|
+
2017-04-24 11:10:48.317007|n| RLIMIT_NOFILE(4096,4096)
|
54
|
+
2017-04-24 11:10:49.315935|n| thread start (0/1)
|
55
|
+
2017-04-24 11:10:49.698905|n| thread end (0/0)
|
56
|
+
2017-04-24 11:10:49.700064|n| grn_fin (0)
|
57
|
+
2017-04-24 11:10:49.705284|n| grn_init: <7.0.1-105-gf940037>
|
58
|
+
2017-04-24 11:10:49.705412|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
59
|
+
2017-04-24 11:10:49.705578|n| RLIMIT_NOFILE(4096,4096)
|
60
|
+
2017-04-24 11:10:50.702205|n| thread start (0/1)
|
61
|
+
2017-04-24 11:10:50.858002|n| thread end (0/0)
|
62
|
+
2017-04-24 11:10:50.858862|n| grn_fin (0)
|
63
|
+
2017-04-24 11:11:12.606175|n| grn_init: <7.0.1-105-gf940037>
|
64
|
+
2017-04-24 11:11:12.606214|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
65
|
+
2017-04-24 11:11:12.606307|n| RLIMIT_NOFILE(4096,4096)
|
66
|
+
2017-04-24 11:11:13.605834|n| thread start (0/1)
|
67
|
+
2017-04-24 11:11:13.842406|n| thread end (0/0)
|
68
|
+
2017-04-24 11:11:13.843288|n| grn_fin (0)
|
69
|
+
2017-04-24 11:11:13.846133|n| grn_init: <7.0.1-105-gf940037>
|
70
|
+
2017-04-24 11:11:13.846164|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
71
|
+
2017-04-24 11:11:13.846254|n| RLIMIT_NOFILE(4096,4096)
|
72
|
+
2017-04-24 11:11:14.845410|n| thread start (0/1)
|
73
|
+
2017-04-24 11:11:15.127688|n| thread end (0/0)
|
74
|
+
2017-04-24 11:11:15.128568|n| grn_fin (0)
|
75
|
+
2017-04-24 11:11:15.131325|n| grn_init: <7.0.1-105-gf940037>
|
76
|
+
2017-04-24 11:11:15.131357|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
77
|
+
2017-04-24 11:11:15.131440|n| RLIMIT_NOFILE(4096,4096)
|
78
|
+
2017-04-24 11:11:16.130617|n| thread start (0/1)
|
79
|
+
2017-04-24 11:11:42.306188|n| grn_init: <7.0.1-105-gf940037>
|
80
|
+
2017-04-24 11:11:42.306219|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
81
|
+
2017-04-24 11:11:42.306306|n| RLIMIT_NOFILE(4096,4096)
|
82
|
+
2017-04-24 11:11:43.308553|n| thread start (0/1)
|
83
|
+
2017-04-24 11:11:43.580788|n| thread end (0/0)
|
84
|
+
2017-04-24 11:11:43.581685|n| grn_fin (0)
|
85
|
+
2017-04-24 11:11:43.584541|n| grn_init: <7.0.1-105-gf940037>
|
86
|
+
2017-04-24 11:11:43.584576|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
87
|
+
2017-04-24 11:11:43.584662|n| RLIMIT_NOFILE(4096,4096)
|
88
|
+
2017-04-24 11:11:44.583985|n| thread start (0/1)
|
89
|
+
2017-04-24 11:11:44.874262|n| thread end (0/0)
|
90
|
+
2017-04-24 11:11:44.875167|n| grn_fin (0)
|
91
|
+
2017-04-24 11:11:44.877971|n| grn_init: <7.0.1-105-gf940037>
|
92
|
+
2017-04-24 11:11:44.878014|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
93
|
+
2017-04-24 11:11:44.878098|n| RLIMIT_NOFILE(4096,4096)
|
94
|
+
2017-04-24 11:11:45.877207|n| thread start (0/1)
|
95
|
+
2017-04-24 11:11:46.066477|n| thread end (0/0)
|
96
|
+
2017-04-24 11:11:46.067611|n| grn_fin (0)
|
97
|
+
2017-04-24 11:12:06.890149|n| grn_init: <7.0.1-105-gf940037>
|
98
|
+
2017-04-24 11:12:06.890181|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
99
|
+
2017-04-24 11:12:06.890263|n| RLIMIT_NOFILE(4096,4096)
|
100
|
+
2017-04-24 11:12:07.889979|n| thread start (0/1)
|
101
|
+
2017-04-24 11:12:08.166979|n| thread end (0/0)
|
102
|
+
2017-04-24 11:12:08.167884|n| grn_fin (0)
|
103
|
+
2017-04-24 11:12:08.170752|n| grn_init: <7.0.1-105-gf940037>
|
104
|
+
2017-04-24 11:12:08.170794|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
105
|
+
2017-04-24 11:12:08.170877|n| RLIMIT_NOFILE(4096,4096)
|
106
|
+
2017-04-24 11:12:09.170034|n| thread start (0/1)
|
107
|
+
2017-04-24 11:12:09.466889|n| thread end (0/0)
|
108
|
+
2017-04-24 11:12:09.467813|n| grn_fin (0)
|
109
|
+
2017-04-24 11:12:09.470729|n| grn_init: <7.0.1-105-gf940037>
|
110
|
+
2017-04-24 11:12:09.470761|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
111
|
+
2017-04-24 11:12:09.470845|n| RLIMIT_NOFILE(4096,4096)
|
112
|
+
2017-04-24 11:12:10.469841|n| thread start (0/1)
|
113
|
+
2017-04-24 11:12:10.568799|n| thread end (0/0)
|
114
|
+
2017-04-24 11:12:10.569881|n| grn_fin (0)
|
115
|
+
2017-04-24 11:12:21.466214|n| grn_init: <7.0.1-105-gf940037>
|
116
|
+
2017-04-24 11:12:21.466249|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
117
|
+
2017-04-24 11:12:21.466332|n| RLIMIT_NOFILE(4096,4096)
|
118
|
+
2017-04-24 11:12:22.466174|n| thread start (0/1)
|
119
|
+
2017-04-24 11:12:22.724694|n| thread end (0/0)
|
120
|
+
2017-04-24 11:12:22.725556|n| grn_fin (0)
|
121
|
+
2017-04-24 11:12:22.728489|n| grn_init: <7.0.1-105-gf940037>
|
122
|
+
2017-04-24 11:12:22.728520|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
123
|
+
2017-04-24 11:12:22.728608|n| RLIMIT_NOFILE(4096,4096)
|
124
|
+
2017-04-24 11:12:23.727545|n| thread start (0/1)
|
125
|
+
2017-04-24 11:12:23.997429|n| thread end (0/0)
|
126
|
+
2017-04-24 11:12:23.998293|n| grn_fin (0)
|
127
|
+
2017-04-24 11:12:24.001106|n| grn_init: <7.0.1-105-gf940037>
|
128
|
+
2017-04-24 11:12:24.001138|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
129
|
+
2017-04-24 11:12:24.001219|n| RLIMIT_NOFILE(4096,4096)
|
130
|
+
2017-04-24 11:12:25.000343|n| thread start (0/1)
|
131
|
+
2017-04-24 11:12:25.201017|n| thread end (0/0)
|
132
|
+
2017-04-24 11:12:25.202162|n| grn_fin (0)
|
133
|
+
2017-04-24 11:19:59.316027|n| grn_init: <7.0.1-105-gf940037>
|
134
|
+
2017-04-24 11:19:59.316064|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
135
|
+
2017-04-24 11:19:59.316148|n| RLIMIT_NOFILE(4096,4096)
|
136
|
+
2017-04-24 11:20:00.315342|n| thread start (0/1)
|
137
|
+
2017-04-24 11:20:00.543339|n| thread end (0/0)
|
138
|
+
2017-04-24 11:20:00.544322|n| grn_fin (0)
|
139
|
+
2017-04-24 11:20:00.547319|n| grn_init: <7.0.1-105-gf940037>
|
140
|
+
2017-04-24 11:20:00.547355|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
141
|
+
2017-04-24 11:20:00.547440|n| RLIMIT_NOFILE(4096,4096)
|
142
|
+
2017-04-24 11:20:01.545653|n| thread start (0/1)
|
143
|
+
2017-04-24 11:20:01.731747|n| thread end (0/0)
|
144
|
+
2017-04-24 11:20:01.732644|n| grn_fin (0)
|
145
|
+
2017-04-24 11:20:01.735519|n| grn_init: <7.0.1-105-gf940037>
|
146
|
+
2017-04-24 11:20:01.735558|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
147
|
+
2017-04-24 11:20:01.735643|n| RLIMIT_NOFILE(4096,4096)
|
148
|
+
2017-04-24 11:20:02.734551|n| thread start (0/1)
|
149
|
+
2017-04-24 11:20:02.951152|n| thread end (0/0)
|
150
|
+
2017-04-24 11:20:02.952691|n| grn_fin (0)
|
151
|
+
2017-04-24 11:20:09.446073|n| grn_init: <7.0.1-105-gf940037>
|
152
|
+
2017-04-24 11:20:09.446115|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
153
|
+
2017-04-24 11:20:09.446201|n| RLIMIT_NOFILE(4096,4096)
|
154
|
+
2017-04-24 11:20:10.448377|n| thread start (0/1)
|
155
|
+
2017-04-24 11:20:10.789136|n| thread end (0/0)
|
156
|
+
2017-04-24 11:20:10.792153|n| grn_fin (0)
|
157
|
+
2017-04-24 13:01:10.344434|e| system call error: Interrupted system call: epoll_wait
|
158
|
+
2017-04-24 13:01:10.344720|e| /tmp/local/lib/libgroonga.so.0(grn_com_event_poll+0x600) [0x7fe1890695cf]
|
159
|
+
2017-04-24 13:01:10.344749|e| /tmp/local/bin/groonga(+0x8db6) [0x564c572ecdb6]
|
160
|
+
2017-04-24 13:01:10.344763|e| /tmp/local/bin/groonga(+0x9e7c) [0x564c572ede7c]
|
161
|
+
2017-04-24 13:01:10.344776|e| /tmp/local/bin/groonga(+0xa035) [0x564c572ee035]
|
162
|
+
2017-04-24 13:01:10.344788|e| /tmp/local/bin/groonga(+0x132b7) [0x564c572f72b7]
|
163
|
+
2017-04-24 13:01:10.344800|e| /tmp/local/bin/groonga(+0x18088) [0x564c572fc088]
|
164
|
+
2017-04-24 13:01:10.344813|e| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7fe1872bf2b1]
|
165
|
+
2017-04-24 13:01:10.344825|e| /tmp/local/bin/groonga(+0x4e2a) [0x564c572e8e2a]
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,79 @@
|
|
1
|
+
2017-04-24 11:06:44.872561|n| grn_init: <7.0.1-105-gf940037>
|
2
|
+
2017-04-24 11:06:44.872642|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
3
|
+
2017-04-24 11:06:44.873832|n| DDL:256:table_create Entries
|
4
|
+
2017-04-24 11:06:44.929837|n| spec:256:update:Entries:48(table:hash_key):0
|
5
|
+
2017-04-24 11:06:44.930157|n| DDL:257:column_create Entries description
|
6
|
+
2017-04-24 11:06:44.979980|n| spec:257:update:Entries.description:65(column:var_size):15(Text)
|
7
|
+
2017-04-24 11:06:45.005342|n| grn_fin (0)
|
8
|
+
2017-04-24 11:06:45.013826|n| grn_init: <7.0.1-105-gf940037>
|
9
|
+
2017-04-24 11:06:45.013966|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
10
|
+
2017-04-24 11:06:45.030106|n| grn_fin (0)
|
11
|
+
2017-04-24 11:06:45.038715|n| grn_init: <7.0.1-105-gf940037>
|
12
|
+
2017-04-24 11:06:45.038857|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
13
|
+
2017-04-24 11:06:45.042555|n| DDL:258:table_create Bigram
|
14
|
+
2017-04-24 11:06:45.088700|n| spec:258:update:Bigram:49(table:pat_key):0
|
15
|
+
2017-04-24 11:06:45.089198|n| DDL:259:column_create Bigram Entries_description
|
16
|
+
2017-04-24 11:06:45.189880|n| spec:259:update:Bigram.Entries_description:72(column:index):256(Entries)
|
17
|
+
2017-04-24 11:06:45.210684|n| DDL:259:set_source Bigram.Entries_description Entries.description
|
18
|
+
2017-04-24 11:06:45.210758|n| spec:257:update:Entries.description:65(column:var_size):15(Text)
|
19
|
+
2017-04-24 11:06:45.215438|n| spec:259:update:Bigram.Entries_description:72(column:index):256(Entries)
|
20
|
+
2017-04-24 11:06:45.223494|n| grn_fin (0)
|
21
|
+
2017-04-24 11:06:46.117605|n| grn_init: <7.0.1-105-gf940037>
|
22
|
+
2017-04-24 11:06:46.117680|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
23
|
+
2017-04-24 11:06:46.117807|n| RLIMIT_NOFILE(4096,4096)
|
24
|
+
2017-04-24 11:06:47.117914|n| thread start (0/1)
|
25
|
+
2017-04-24 11:06:47.495106|n| thread end (0/0)
|
26
|
+
2017-04-24 11:06:47.498049|n| grn_fin (0)
|
27
|
+
2017-04-24 11:07:45.260497|n| grn_init: <7.0.1-105-gf940037>
|
28
|
+
2017-04-24 11:07:45.260555|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
29
|
+
2017-04-24 11:07:45.260635|n| RLIMIT_NOFILE(4096,4096)
|
30
|
+
2017-04-24 11:07:46.262231|n| thread start (0/1)
|
31
|
+
2017-04-24 11:07:49.196124|n| thread end (0/0)
|
32
|
+
2017-04-24 11:07:49.199045|n| grn_fin (0)
|
33
|
+
2017-04-24 11:10:47.015640|n| grn_init: <7.0.1-105-gf940037>
|
34
|
+
2017-04-24 11:10:47.015723|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
35
|
+
2017-04-24 11:10:47.015811|n| RLIMIT_NOFILE(4096,4096)
|
36
|
+
2017-04-24 11:10:48.018144|n| thread start (0/1)
|
37
|
+
2017-04-24 11:10:50.858117|n| thread end (0/0)
|
38
|
+
2017-04-24 11:10:50.861057|n| grn_fin (0)
|
39
|
+
2017-04-24 11:11:12.604406|n| grn_init: <7.0.1-105-gf940037>
|
40
|
+
2017-04-24 11:11:12.604464|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
41
|
+
2017-04-24 11:11:12.604542|n| RLIMIT_NOFILE(4096,4096)
|
42
|
+
2017-04-24 11:11:13.606243|n| thread start (0/1)
|
43
|
+
2017-04-24 11:11:42.304545|n| grn_init: <7.0.1-105-gf940037>
|
44
|
+
2017-04-24 11:11:42.304594|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
45
|
+
2017-04-24 11:11:42.304674|n| RLIMIT_NOFILE(4096,4096)
|
46
|
+
2017-04-24 11:11:43.305717|n| thread start (0/1)
|
47
|
+
2017-04-24 11:11:46.066584|n| thread end (0/0)
|
48
|
+
2017-04-24 11:11:46.070501|n| grn_fin (0)
|
49
|
+
2017-04-24 11:12:06.886810|n| grn_init: <7.0.1-105-gf940037>
|
50
|
+
2017-04-24 11:12:06.886857|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
51
|
+
2017-04-24 11:12:06.886933|n| RLIMIT_NOFILE(4096,4096)
|
52
|
+
2017-04-24 11:12:06.888501|n| thread start (0/1)
|
53
|
+
2017-04-24 11:12:10.568618|n| thread end (0/0)
|
54
|
+
2017-04-24 11:12:10.571785|n| grn_fin (0)
|
55
|
+
2017-04-24 11:12:21.462928|n| grn_init: <7.0.1-105-gf940037>
|
56
|
+
2017-04-24 11:12:21.462974|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
57
|
+
2017-04-24 11:12:21.463054|n| RLIMIT_NOFILE(4096,4096)
|
58
|
+
2017-04-24 11:12:21.467367|n| thread start (0/1)
|
59
|
+
2017-04-24 11:12:25.201154|n| thread end (0/0)
|
60
|
+
2017-04-24 11:12:25.205066|n| grn_fin (0)
|
61
|
+
2017-04-24 11:19:59.312302|n| grn_init: <7.0.1-105-gf940037>
|
62
|
+
2017-04-24 11:19:59.312348|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
63
|
+
2017-04-24 11:19:59.312424|n| RLIMIT_NOFILE(4096,4096)
|
64
|
+
2017-04-24 11:19:59.314172|n| thread start (0/1)
|
65
|
+
2017-04-24 11:20:02.950972|n| thread end (0/0)
|
66
|
+
2017-04-24 11:20:02.956336|n| grn_fin (0)
|
67
|
+
2017-04-24 11:20:09.443167|n| grn_init: <7.0.1-105-gf940037>
|
68
|
+
2017-04-24 11:20:09.443214|n| vm.overcommit_memory kernel parameter should be 1: <0>: See INFO level log to resolve this
|
69
|
+
2017-04-24 11:20:09.443297|n| RLIMIT_NOFILE(4096,4096)
|
70
|
+
2017-04-24 11:20:10.445853|n| thread start (0/1)
|
71
|
+
2017-04-24 11:20:10.789276|n| thread end (0/0)
|
72
|
+
2017-04-24 11:20:10.792230|n| grn_fin (0)
|
73
|
+
2017-04-24 13:01:10.343392|e| system call error: Interrupted system call: epoll_wait
|
74
|
+
2017-04-24 13:01:10.343699|e| /tmp/local/lib/libgroonga.so.0(grn_com_event_poll+0x600) [0x7f8575c9c5cf]
|
75
|
+
2017-04-24 13:01:10.343722|e| groonga(+0xc58b) [0x56012441658b]
|
76
|
+
2017-04-24 13:01:10.343737|e| groonga(+0xde2e) [0x560124417e2e]
|
77
|
+
2017-04-24 13:01:10.343748|e| groonga(+0x54e0) [0x56012440f4e0]
|
78
|
+
2017-04-24 13:01:10.343759|e| /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f857478d2b1]
|
79
|
+
2017-04-24 13:01:10.343771|e| groonga(+0x5e6a) [0x56012440fe6a]
|
File without changes
|
@@ -504,6 +504,11 @@ class ResponseComparerTest < Test::Unit::TestCase
|
|
504
504
|
end
|
505
505
|
|
506
506
|
class DrilldownTest < self
|
507
|
+
def setup
|
508
|
+
super
|
509
|
+
@command["drilldown"] = "tag"
|
510
|
+
end
|
511
|
+
|
507
512
|
def create_response(drilldown)
|
508
513
|
[
|
509
514
|
[
|
@@ -614,8 +619,8 @@ class ResponseComparerTest < Test::Unit::TestCase
|
|
614
619
|
|
615
620
|
class IgnoreDrilldownKeysTest < self
|
616
621
|
def create_response(drilldown1, drilldown2)
|
617
|
-
@command["drilldown[
|
618
|
-
@command["drilldown[
|
622
|
+
@command["drilldown[column1].keys"] = "column1"
|
623
|
+
@command["drilldown[column2].keys"] = "column2"
|
619
624
|
[
|
620
625
|
[
|
621
626
|
[10],
|
@@ -800,4 +805,117 @@ class ResponseComparerTest < Test::Unit::TestCase
|
|
800
805
|
end
|
801
806
|
end
|
802
807
|
end
|
808
|
+
|
809
|
+
class LogicalRangeFilterTest < self
|
810
|
+
class LooseSortTest < self
|
811
|
+
def setup
|
812
|
+
@command =
|
813
|
+
Groonga::Command::LogicalRangeFilter.new(:logical_table => "Logs",
|
814
|
+
:shard_key => "timestamp")
|
815
|
+
end
|
816
|
+
|
817
|
+
def test_not_sorted
|
818
|
+
@command[:sort_keys] = "-count"
|
819
|
+
assert_false(same?([
|
820
|
+
[
|
821
|
+
[
|
822
|
+
["_id", "UInt32"],
|
823
|
+
["timestamp", "Time"],
|
824
|
+
["count", "UInt32"],
|
825
|
+
],
|
826
|
+
[1, 1492272000.0, 10],
|
827
|
+
[2, 1492272000.0, 10],
|
828
|
+
[3, 1492272000.0, 11],
|
829
|
+
],
|
830
|
+
],
|
831
|
+
[
|
832
|
+
[
|
833
|
+
[
|
834
|
+
["_id", "UInt32"],
|
835
|
+
["timestamp", "Time"],
|
836
|
+
["count", "UInt32"],
|
837
|
+
],
|
838
|
+
[2, 1492272000.0, 10],
|
839
|
+
[1, 1492272000.0, 10],
|
840
|
+
[3, 1492272000.0, 11],
|
841
|
+
],
|
842
|
+
]))
|
843
|
+
end
|
844
|
+
|
845
|
+
def test_no_sort_keys
|
846
|
+
assert_true(same?([
|
847
|
+
[
|
848
|
+
[["_id", "UInt32"], ["timestamp", "Time"]],
|
849
|
+
[1, 1492272000.0],
|
850
|
+
[2, 1492272000.0],
|
851
|
+
[3, 1492272001.0],
|
852
|
+
],
|
853
|
+
],
|
854
|
+
[
|
855
|
+
[
|
856
|
+
[["_id", "UInt32"], ["timestamp", "Time"]],
|
857
|
+
[2, 1492272000.0],
|
858
|
+
[1, 1492272000.0],
|
859
|
+
[3, 1492272001.0],
|
860
|
+
],
|
861
|
+
]))
|
862
|
+
end
|
863
|
+
|
864
|
+
def test_shard_key_and_sort_keys
|
865
|
+
@command[:sort_keys] = "count"
|
866
|
+
assert_true(same?([
|
867
|
+
[
|
868
|
+
[
|
869
|
+
["_id", "UInt32"],
|
870
|
+
["timestamp", "Time"],
|
871
|
+
["count", "UInt32"],
|
872
|
+
],
|
873
|
+
[1, 1492272000.0, 10],
|
874
|
+
[2, 1492272000.0, 10],
|
875
|
+
[3, 1492272001.0, 9],
|
876
|
+
],
|
877
|
+
],
|
878
|
+
[
|
879
|
+
[
|
880
|
+
[
|
881
|
+
["_id", "UInt32"],
|
882
|
+
["timestamp", "Time"],
|
883
|
+
["count", "UInt32"],
|
884
|
+
],
|
885
|
+
[2, 1492272000.0, 10],
|
886
|
+
[1, 1492272000.0, 10],
|
887
|
+
[3, 1492272001.0, 9],
|
888
|
+
],
|
889
|
+
]))
|
890
|
+
end
|
891
|
+
|
892
|
+
def test_shard_key_and_sort_keys_descendant
|
893
|
+
@command[:sort_keys] = "-count"
|
894
|
+
assert_true(same?([
|
895
|
+
[
|
896
|
+
[
|
897
|
+
["_id", "UInt32"],
|
898
|
+
["timestamp", "Time"],
|
899
|
+
["count", "UInt32"],
|
900
|
+
],
|
901
|
+
[1, 1492272000.0, 10],
|
902
|
+
[2, 1492272000.0, 10],
|
903
|
+
[3, 1492272000.0, 9],
|
904
|
+
],
|
905
|
+
],
|
906
|
+
[
|
907
|
+
[
|
908
|
+
[
|
909
|
+
["_id", "UInt32"],
|
910
|
+
["timestamp", "Time"],
|
911
|
+
["count", "UInt32"],
|
912
|
+
],
|
913
|
+
[2, 1492272000.0, 10],
|
914
|
+
[1, 1492272000.0, 10],
|
915
|
+
[3, 1492272000.0, 9],
|
916
|
+
],
|
917
|
+
]))
|
918
|
+
end
|
919
|
+
end
|
920
|
+
end
|
803
921
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: groonga-query-log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouhei Sutou
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diff-lcs
|
@@ -30,42 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: groonga-command
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: 1.4.2
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: 1.4.2
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: groonga-command-parser
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
33
|
+
version: 0.6.2
|
62
34
|
type: :runtime
|
63
35
|
prerelease: false
|
64
36
|
version_requirements: !ruby/object:Gem::Requirement
|
65
37
|
requirements:
|
66
38
|
- - ">="
|
67
39
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
40
|
+
version: 0.6.2
|
69
41
|
- !ruby/object:Gem::Dependency
|
70
42
|
name: groonga-log
|
71
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -182,18 +154,18 @@ description: ''
|
|
182
154
|
email:
|
183
155
|
- kou@clear-code.com
|
184
156
|
executables:
|
185
|
-
- groonga-query-log-detect-memory-leak
|
186
157
|
- groonga-query-log-analyze
|
158
|
+
- groonga-query-log-analyze-load
|
187
159
|
- groonga-query-log-check-crash
|
188
|
-
- groonga-query-log-replay
|
189
160
|
- groonga-query-log-extract
|
190
|
-
- groonga-query-log-show-running-queries
|
191
161
|
- groonga-query-log-check-command-version-compatibility
|
192
|
-
- groonga-query-log-run-regression-test
|
193
|
-
- groonga-query-log-verify-server
|
194
|
-
- groonga-query-log-analyze-load
|
195
|
-
- groonga-query-log-format-regression-test-logs
|
196
162
|
- groonga-query-log-check-performance-regression
|
163
|
+
- groonga-query-log-replay
|
164
|
+
- groonga-query-log-format-regression-test-logs
|
165
|
+
- groonga-query-log-detect-memory-leak
|
166
|
+
- groonga-query-log-show-running-queries
|
167
|
+
- groonga-query-log-verify-server
|
168
|
+
- groonga-query-log-run-regression-test
|
197
169
|
extensions: []
|
198
170
|
extra_rdoc_files: []
|
199
171
|
files:
|
@@ -288,8 +260,29 @@ files:
|
|
288
260
|
- test/fixtures/reporter/json-stream.expected
|
289
261
|
- test/fixtures/reporter/json.expected
|
290
262
|
- test/fixtures/run-regression-test/data/data.grn
|
263
|
+
- test/fixtures/run-regression-test/db.new/db
|
264
|
+
- test/fixtures/run-regression-test/db.new/db.0000000
|
265
|
+
- test/fixtures/run-regression-test/db.new/db.0000100
|
266
|
+
- test/fixtures/run-regression-test/db.new/db.0000101
|
267
|
+
- test/fixtures/run-regression-test/db.new/db.0000102
|
268
|
+
- test/fixtures/run-regression-test/db.new/db.0000103
|
269
|
+
- test/fixtures/run-regression-test/db.new/db.0000103.c
|
270
|
+
- test/fixtures/run-regression-test/db.new/db.001
|
271
|
+
- test/fixtures/run-regression-test/db.new/db.conf
|
272
|
+
- test/fixtures/run-regression-test/db.new/groonga.log
|
273
|
+
- test/fixtures/run-regression-test/db.old/db
|
274
|
+
- test/fixtures/run-regression-test/db.old/db.0000000
|
275
|
+
- test/fixtures/run-regression-test/db.old/db.0000100
|
276
|
+
- test/fixtures/run-regression-test/db.old/db.0000101
|
277
|
+
- test/fixtures/run-regression-test/db.old/db.0000102
|
278
|
+
- test/fixtures/run-regression-test/db.old/db.0000103
|
279
|
+
- test/fixtures/run-regression-test/db.old/db.0000103.c
|
280
|
+
- test/fixtures/run-regression-test/db.old/db.001
|
281
|
+
- test/fixtures/run-regression-test/db.old/db.conf
|
282
|
+
- test/fixtures/run-regression-test/db.old/groonga.log
|
291
283
|
- test/fixtures/run-regression-test/indexes/indexes.grn
|
292
284
|
- test/fixtures/run-regression-test/query-logs/query.log
|
285
|
+
- test/fixtures/run-regression-test/results/query.log
|
293
286
|
- test/fixtures/run-regression-test/schema/schema.grn
|
294
287
|
- test/fixtures/target-commands.expected
|
295
288
|
- test/fixtures/target-tables.expected
|
@@ -319,7 +312,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
319
312
|
- !ruby/object:Gem::Version
|
320
313
|
version: '0'
|
321
314
|
requirements: []
|
322
|
-
|
315
|
+
rubyforge_project:
|
316
|
+
rubygems_version: 2.7.6.2
|
323
317
|
signing_key:
|
324
318
|
specification_version: 4
|
325
319
|
summary: Groonga-query-log is a collection of library and tools to process [Groonga](http://groonga.org/)'s
|
@@ -327,43 +321,64 @@ summary: Groonga-query-log is a collection of library and tools to process [Groo
|
|
327
321
|
as a library. You can analyze your Groonga's queries and test with your Groonga's
|
328
322
|
query log by using groonga-query-log as a tool.
|
329
323
|
test_files:
|
324
|
+
- test/test-parser.rb
|
325
|
+
- test/helper.rb
|
330
326
|
- test/run-test.rb
|
331
|
-
- test/
|
332
|
-
- test/
|
333
|
-
- test/
|
334
|
-
- test/
|
335
|
-
- test/
|
336
|
-
- test/
|
327
|
+
- test/test-response-comparer.rb
|
328
|
+
- test/command/test-extract.rb
|
329
|
+
- test/command/test-format-regression-test-logs.rb
|
330
|
+
- test/command/test-run-regression-test.rb
|
331
|
+
- test/command/test-analyzer.rb
|
332
|
+
- test/command/test-check-performance-regression.rb
|
333
|
+
- test/test-replayer.rb
|
337
334
|
- test/fixtures/target-tables.expected
|
338
|
-
- test/fixtures/
|
339
|
-
- test/fixtures/
|
340
|
-
- test/fixtures/
|
341
|
-
- test/fixtures/
|
342
|
-
- test/fixtures/order/elapsed.expected
|
343
|
-
- test/fixtures/regression-test-logs/url-format.log
|
344
|
-
- test/fixtures/regression-test-logs/command-format.log
|
335
|
+
- test/fixtures/reporter/html.expected
|
336
|
+
- test/fixtures/reporter/json.expected
|
337
|
+
- test/fixtures/reporter/console.expected
|
338
|
+
- test/fixtures/reporter/json-stream.expected
|
345
339
|
- test/fixtures/regression-test-logs/results/url-format.log
|
346
340
|
- test/fixtures/regression-test-logs/error.log
|
347
|
-
- test/fixtures/
|
348
|
-
- test/fixtures/
|
341
|
+
- test/fixtures/regression-test-logs/url-format.log
|
342
|
+
- test/fixtures/regression-test-logs/command-format.log
|
349
343
|
- test/fixtures/other-query.log
|
350
|
-
- test/fixtures/
|
351
|
-
- test/fixtures/
|
352
|
-
- test/fixtures/
|
353
|
-
- test/fixtures/reporter/html.expected
|
344
|
+
- test/fixtures/no-report-summary.expected
|
345
|
+
- test/fixtures/run-regression-test/results/query.log
|
346
|
+
- test/fixtures/run-regression-test/query-logs/query.log
|
354
347
|
- test/fixtures/run-regression-test/schema/schema.grn
|
355
|
-
- test/fixtures/run-regression-test/data/data.grn
|
356
348
|
- test/fixtures/run-regression-test/indexes/indexes.grn
|
357
|
-
- test/fixtures/run-regression-test/
|
349
|
+
- test/fixtures/run-regression-test/db.new/db.0000000
|
350
|
+
- test/fixtures/run-regression-test/db.new/db.0000100
|
351
|
+
- test/fixtures/run-regression-test/db.new/db.0000103.c
|
352
|
+
- test/fixtures/run-regression-test/db.new/db
|
353
|
+
- test/fixtures/run-regression-test/db.new/db.0000102
|
354
|
+
- test/fixtures/run-regression-test/db.new/groonga.log
|
355
|
+
- test/fixtures/run-regression-test/db.new/db.001
|
356
|
+
- test/fixtures/run-regression-test/db.new/db.conf
|
357
|
+
- test/fixtures/run-regression-test/db.new/db.0000103
|
358
|
+
- test/fixtures/run-regression-test/db.new/db.0000101
|
359
|
+
- test/fixtures/run-regression-test/db.old/db.0000000
|
360
|
+
- test/fixtures/run-regression-test/db.old/db.0000100
|
361
|
+
- test/fixtures/run-regression-test/db.old/db.0000103.c
|
362
|
+
- test/fixtures/run-regression-test/db.old/db
|
363
|
+
- test/fixtures/run-regression-test/db.old/db.0000102
|
364
|
+
- test/fixtures/run-regression-test/db.old/groonga.log
|
365
|
+
- test/fixtures/run-regression-test/db.old/db.001
|
366
|
+
- test/fixtures/run-regression-test/db.old/db.conf
|
367
|
+
- test/fixtures/run-regression-test/db.old/db.0000103
|
368
|
+
- test/fixtures/run-regression-test/db.old/db.0000101
|
369
|
+
- test/fixtures/run-regression-test/data/data.grn
|
370
|
+
- test/fixtures/query.log
|
371
|
+
- test/fixtures/n_entries.expected
|
372
|
+
- test/fixtures/multi.expected
|
373
|
+
- test/fixtures/order/-elapsed.expected
|
374
|
+
- test/fixtures/order/start-time.expected
|
375
|
+
- test/fixtures/order/elapsed.expected
|
376
|
+
- test/fixtures/order/-start-time.expected
|
377
|
+
- test/fixtures/check-performance-regression/query1.log
|
378
|
+
- test/fixtures/check-performance-regression/nquery2.log
|
379
|
+
- test/fixtures/check-performance-regression/cache.log
|
380
|
+
- test/fixtures/check-performance-regression/query2.log
|
381
|
+
- test/fixtures/check-performance-regression/nquery.log
|
358
382
|
- test/fixtures/target-commands.expected
|
359
|
-
- test/test-parser.rb
|
360
|
-
- test/helper.rb
|
361
|
-
- test/test-replayer.rb
|
362
|
-
- test/test-response-comparer.rb
|
363
|
-
- test/command/test-run-regression-test.rb
|
364
|
-
- test/command/test-check-performance-regression.rb
|
365
|
-
- test/command/test-format-regression-test-logs.rb
|
366
|
-
- test/command/test-analyzer.rb
|
367
|
-
- test/command/test-extract.rb
|
368
383
|
- test/test-incompatibility-detector.rb
|
369
384
|
- test/test-filter-rewriter.rb
|