logstash-filter-grok 4.0.2 → 4.0.3

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: 9bd077348b5418a10d67de1338dbd14b7b2fdfc4ed24048543c779641430efbf
4
- data.tar.gz: 2b630a108e2f6ac770695efd89a430015b1dd2f776de68848d1a932057d2b0b9
3
+ metadata.gz: a852fc411ca1fc227ff50d09380ac04351ea04e9625c8c23de138994c6837413
4
+ data.tar.gz: 9d26a4892384b13950ec22155d4f94b2e923206f6852f69dc6b1f1482a0a7156
5
5
  SHA512:
6
- metadata.gz: 765d1ed84e5e8395bcdd2519fa65ad13bee6f9705e65cdc11236dd3acff6c8a25bf6279a9e08ff4d7d8b38d9fc321d8123890a14fb827543fdb39fee68d1dc06
7
- data.tar.gz: 783b095abd1b9eda044ae1c7385482683cf37889e6fb2621a6a577e684bc4168439b760a54b0f331a34e448218d533b90520576525a9fc00f9b7dfba4938862d
6
+ metadata.gz: 153db9f752ed851787fcd9c4f8b0b237a784116eab7bcc9a26170e145747e32a7d8ee7aa1f5849f71b8333b5dcf6d56ae21bd2e995fee7d88a5c18cc67095cec
7
+ data.tar.gz: c3fb66ddbad8c9578a9291a4b6f02770cf2e57d7456339a31c36c91bf6a20455c24919fe5ee731d0b71b06507895e7c42dd35d9336d57aad2f201375ee55d6c7
@@ -1,3 +1,6 @@
1
+ ## 4.0.3
2
+ - Fixed memory leak when run on JRuby 1.x (Logstash 5.x) [#135](https://github.com/logstash-plugins/logstash-filter-grok/issues/135)
3
+
1
4
  ## 4.0.2
2
5
  - Fixed resource leak where this plugin might get double initialized during plugin reload, leaking a thread + some objects
3
6
 
@@ -56,7 +56,7 @@ class LogStash::Filters::Grok::TimeoutEnforcer
56
56
 
57
57
  def cancel_timed_out!
58
58
  now = java.lang.System.nanoTime # save ourselves some nanotime calls
59
- @threads_to_start_time.forEach do |thread, start_time|
59
+ @threads_to_start_time.keySet.each do |thread|
60
60
  # Use compute to lock this value
61
61
  @threads_to_start_time.computeIfPresent(thread) do |thread, start_time|
62
62
  if start_time < now && now - start_time > @timeout_nanos
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-grok'
4
- s.version = '4.0.2'
4
+ s.version = '4.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Parses unstructured event data into fields"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-grok
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-29 00:00:00.000000000 Z
11
+ date: 2018-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement