fluent-plugin-elasticsearch 2.9.0 → 2.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e6ce96c7388d21261953d86138c5f385bfb6ba79dbec118fc611d14c90a8866
4
- data.tar.gz: d9df64b807a27f60ed81a1b451a7916403c6d434a5af5699006dd404ad218151
3
+ metadata.gz: 68bc9bdc4c7c5e52553aafacc5b7018e1cc7f5b01e4f5bcacb112443787b4ced
4
+ data.tar.gz: 9bd3383b8b79e480f86753827c88fc127767357e02729dec6e7d1b8a676fd0de
5
5
  SHA512:
6
- metadata.gz: 8449503bc7d12055ce8c1755a2656cf86f7066666561a9ddc4c2fe3fc15ba4934f94508dc55bad42a4286af7fc7d8fb1f628554571f860640ae8b3cdf6fe0cdc
7
- data.tar.gz: c803b54c1c517942cd199710ef9dde9ac428989c7e2ab29c24e02d18fd9b4187d37bf468df9a86cda295359bd9201fea79a87a197b9bcda34814bb576d9efa56
6
+ metadata.gz: 44987ff76928eb5e78607820ef84ad4a9ea5dc8d8c8043afff8506919ac87cc4cf6643c9a3ff875d412c3a82012bcbef32dda27fcfe61d4a87bb33e8de63d9dc
7
+ data.tar.gz: 20169754c661e2de4a938d208c34e10adbde571790082a28c2c7f76996c5c0a5db5b74edcf1642a352f2a0196334706e575bb2b9ec46e8dd55c5ff1d695a5460
data/History.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ### [Unreleased]
4
4
 
5
+ ### 2.9.1
6
+ - Uplift Merge pull request #406 from richm/v0.12-successes-duplicates-no-retry (#407)
7
+
5
8
  ### 2.9.0
6
9
  - DLQ revisited v1 uplifted #398, #402 (#404)
7
10
 
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'fluent-plugin-elasticsearch'
6
- s.version = '2.9.0'
6
+ s.version = '2.9.1'
7
7
  s.authors = ['diogo', 'pitr']
8
8
  s.email = ['pitr.vern@gmail.com', 'me@diogoterror.com']
9
9
  s.description = %q{Elasticsearch output plugin for Fluent event collector}
@@ -62,6 +62,10 @@ class Fluent::Plugin::ElasticsearchErrorHandler
62
62
  stats.each_pair { |key, value| msg << "#{value} #{key}" }
63
63
  @plugin.log.debug msg.join(', ')
64
64
  end
65
+ if stats[:successes] + stats[:duplicates] == bulk_message_count
66
+ @plugin.log.debug("retry succeeded - all #{bulk_message_count} records were successfully sent")
67
+ return
68
+ end
65
69
  stats.each_key do |key|
66
70
  case key
67
71
  when 'out_of_memory_error'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - diogo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-19 00:00:00.000000000 Z
12
+ date: 2018-04-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd