fluentd 0.10.60 → 0.10.61

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fluentd might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: df3b9d78b6f1c9a907dd128b49c515c5a4900fd1
4
- data.tar.gz: 5275b1852cc3c2f77a94583bfe51b4754ccfce4c
3
+ metadata.gz: b40111b5009cbd336262c568c0cbe69bb3e34b42
4
+ data.tar.gz: ad517f5db8a4b674e6b7b73ff731f8ad2a6a451c
5
5
  SHA512:
6
- metadata.gz: 73feb1d33087e5f92d0131f2dbd39ac379d6bc513869ced303b77bba2a1854d5ccf828cf9f5f8b38e403058e3f001b44effd18b4f16ffca2a54f96f012ac76e0
7
- data.tar.gz: cb62b6f2bd879db66d00d17d59f44d9d8831a9d9c582c46721fecdab650cf8ae6b843f4e8cdcb1a88ceafd67c3f5aa44e28f0267738ba5db4781c33ef9a1e627
6
+ metadata.gz: cac0ecda9b4b25e13f05f1c4c65b68e32cec4fd0971296169207b546a0d498cbca3d28322bef27c77f5ddd29f8c041fb7ea7095e014e439feb2c17efbb995ade
7
+ data.tar.gz: f2e6719f05fad72dd193433a716caee375a1f07077b22907a17d3dd41ff0b79427f6e2aa0768e4df945298f2316fcc5ec153dd86f708b430e3969f5362510659
@@ -22,6 +22,8 @@ gemfile:
22
22
 
23
23
  script: bundle exec rake
24
24
 
25
+ sudo: false
26
+
25
27
  matrix:
26
28
  allow_failures:
27
29
  - rvm: ruby-head
data/ChangeLog CHANGED
@@ -1,11 +1,16 @@
1
- Release 0.10.60 - 2014/02/06
1
+ Release 0.10.61 - 2015/03/03
2
+
3
+ * out_forward: Should handle ECONNREFUSED exeception on TCP heartbeat
4
+ * test: BufferedOutputTestDriver must use correct buffer chunk type
5
+
6
+ Release 0.10.60 - 2015/02/06
2
7
 
3
8
  * in_tail: Enable multiline mode if format contains 'multiline'
4
9
  * event: Improve EventStream#to_msgpack_stream performance
5
10
  * engine: Add tag information emit log
6
11
  * Update msgpack dependency to avoid incompatible encoding problem
7
12
 
8
- Release 0.10.59 - 2014/01/23
13
+ Release 0.10.59 - 2015/01/23
9
14
 
10
15
  * in_tail: Support 64bit inode environment in in_tail
11
16
  * parser: nginx and apache2 format can now parse access log without http-version
@@ -288,7 +288,7 @@ module Fluent
288
288
  else
289
289
  @usock.send "\0", 0, Socket.pack_sockaddr_in(n.port, n.resolved_host)
290
290
  end
291
- rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::EINTR
291
+ rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::EINTR, Errno::ECONNREFUSED
292
292
  # TODO log
293
293
  log.debug "failed to send heartbeat packet to #{n.host}:#{n.port}", :error=>$!.to_s
294
294
  end
@@ -53,6 +53,10 @@ module Fluent
53
53
  @entries = []
54
54
  @expected_buffer = nil
55
55
  @tag = tag
56
+
57
+ def @instance.buffer
58
+ @buffer
59
+ end
56
60
  end
57
61
 
58
62
  attr_accessor :tag
@@ -84,8 +88,13 @@ module Fluent
84
88
  time, record = @entries.first
85
89
  key = @instance.time_slicer.call(time)
86
90
  end
87
- chunk = MemoryBufferChunk.new(key, buffer)
88
- result = @instance.write(chunk)
91
+ chunk = @instance.buffer.new_chunk(key)
92
+ chunk << buffer
93
+ begin
94
+ result = @instance.write(chunk)
95
+ ensure
96
+ chunk.purge
97
+ end
89
98
  }
90
99
  result
91
100
  end
@@ -1,5 +1,5 @@
1
1
  module Fluent
2
2
 
3
- VERSION = '0.10.60'
3
+ VERSION = '0.10.61'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluentd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.60
4
+ version: 0.10.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-05 00:00:00.000000000 Z
11
+ date: 2015-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack