fluentd 0.14.19 → 0.14.20.rc1

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: 0e8cde86e1ab8e515cd2573c413a821fd7fec5ac
4
- data.tar.gz: f182030e17d2e1f72c63dffd08dd854e84544923
3
+ metadata.gz: 27bc8dbc0114bfd96c3f6eea899abb46036b00b3
4
+ data.tar.gz: 731f9f97662048edae1476538510747a6279b52d
5
5
  SHA512:
6
- metadata.gz: 490ef9c95652e18a65713eefdb0003876991c9a0d504b26edd73904cc24d7e9e7048205e056073d6637d10e75e2226ed5e1deb302596916a59dd4a82555f88e3
7
- data.tar.gz: dfc41329fc70c653505d251fc9c66f51c4547693723c216c1d01dafa5c8ee38ecca561a3e4cf7aeb11b24879c0c35199265abcf02f659e366029cfcafdb7b96b
6
+ metadata.gz: 7cb206015a95afcfa03a96c455e9f9631e3b2357f63d76d67dd198a9a435d7d6f91bf1dc9f81690b66d885bc458dfcbc2611a139ef46548841d081488e818f05
7
+ data.tar.gz: 33c0185e918d5b78810a86226d9f17bead748ca4f24574f3b633143bbbf1d0d30cab99d8a6e950084ff77443899f145d0440562ec8b442c6c9e0d54ca8a8050c
@@ -23,7 +23,7 @@ If you can't judge your case is a bug or not, use mailing list or slack first.
23
23
  If you find a bug of Fluentd or a mistake in the documentation, you can help us by
24
24
  submitting an issue to Fluentd. Even better you can submit a Pull Request with a fix.
25
25
 
26
- * **Fluentd**: Use [fluentd](https://github.com/fluent/fluentd) repository.
26
+ * **Fluentd**: Use [fluentd](https://github.com/fluent/fluentd) repository. Fill issue template.
27
27
  * **Documentation**: Use [fluentd-docs](https://github.com/fluent/fluentd-docs) repository.
28
28
 
29
29
  If you find a bug of 3rd party plugins, please submit an issue to each plugin repository.
@@ -244,9 +244,10 @@ module Fluent
244
244
  c: @created_at.to_i,
245
245
  m: (update ? Time.now : @modified_at).to_i,
246
246
  })
247
+ bin = msgpack_packer.pack(data).to_s
247
248
  @meta.seek(0, IO::SEEK_SET)
248
- @meta.truncate(0)
249
- @meta.write(msgpack_packer.pack(data))
249
+ @meta.write(bin)
250
+ @meta.truncate(bin.bytesize)
250
251
  end
251
252
 
252
253
  def file_rename(file, old_path, new_path, callback=nil)
@@ -284,6 +285,7 @@ module Fluent
284
285
  @meta.set_encoding(Encoding::ASCII_8BIT)
285
286
  @meta.sync = true
286
287
  @meta.binmode
288
+ write_metadata(update: false)
287
289
  rescue => e
288
290
  # This case is easier than enqueued!. Just removing pre-create buffer file
289
291
  @chunk.close rescue nil
@@ -16,6 +16,6 @@
16
16
 
17
17
  module Fluent
18
18
 
19
- VERSION = '0.14.19'
19
+ VERSION = '0.14.20.rc1'
20
20
 
21
21
  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.14.19
4
+ version: 0.14.20.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-12 00:00:00.000000000 Z
11
+ date: 2017-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -716,9 +716,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
716
716
  version: '2.1'
717
717
  required_rubygems_version: !ruby/object:Gem::Requirement
718
718
  requirements:
719
- - - ">="
719
+ - - ">"
720
720
  - !ruby/object:Gem::Version
721
- version: '0'
721
+ version: 1.3.1
722
722
  requirements: []
723
723
  rubyforge_project:
724
724
  rubygems_version: 2.6.11