test-opensearch 0.0.0.15 → 0.0.0.16
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.
- checksums.yaml +4 -4
- data/fluent-plugin-opensearch.gemspec +1 -1
- data/lib/fluent/plugin/in_opensearch.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b216382dff7cd23a26b0cfa304a79b86c0d4a0085a3ecc9fbc61348411f8c575
|
|
4
|
+
data.tar.gz: 68cc2c100b076ad587c3c1d0706f6578b3bbf13101da4a931fc712896a0675d4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 87b4a7374ee1f68ddcdbb0103219d50f8bdc6245a2497e3fa25b57335313e331892b8f4b9505683f305bcc4d59796b283f5c7b1c85fc9d02d5b498db1b6a9330
|
|
7
|
+
data.tar.gz: ed42b217b433e43cc3d336cd9c5c9ea30887bad7bf6399c0dcb5db7abd3f9f059e1e99c1e4bf72bf39ccbe2c9bef95fcc31c002840c039017e18ee976b50c428
|
|
@@ -342,7 +342,6 @@ module Fluent::Plugin
|
|
|
342
342
|
end
|
|
343
343
|
|
|
344
344
|
def run
|
|
345
|
-
@retry = retry_state(@retry_randomize)
|
|
346
345
|
return run_slice if @num_slices <= 1
|
|
347
346
|
|
|
348
347
|
log.warn("Large slice number is specified:(#{@num_slices}). Consider reducing num_slices") if @num_slices > 8
|
|
@@ -366,6 +365,7 @@ module Fluent::Plugin
|
|
|
366
365
|
end
|
|
367
366
|
|
|
368
367
|
def run_slice(slice_id=nil)
|
|
368
|
+
@retry = retry_state(@retry_randomize)
|
|
369
369
|
slice_query = @base_query
|
|
370
370
|
slice_query = slice_query.merge('slice' => { 'id' => slice_id, 'max' => @num_slices}) unless slice_id.nil?
|
|
371
371
|
result = client.search(@options.merge(:body => Yajl.dump(slice_query) ))
|