sensu 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -0
- data/lib/sensu/constants.rb +1 -1
- data/lib/sensu/server/process.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fcfd58e1ef62f0e869b6e47364bb4c3f5486e6c
|
4
|
+
data.tar.gz: 19b150de137c08a499808c34c060f5ad1bbc30aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 043e20124eb754d55a2067e5ee894f7427f85bfdaaa9b3da5825947a3c172ae8b744956b462c76cb5a4d4ee6755e874bb3d73b250dbc19435a94d226f7b7a449
|
7
|
+
data.tar.gz: 4476af87cd6db33c7b8979fc2443df15492311b4152171fdf66cf835ad05575d04ffcc71c1195aad86298aa27ad5a6e81955c5e79071a63458114c3f77c14aab
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## 1.0.2 - 2017-07-27
|
2
|
+
|
3
|
+
### Fixes
|
4
|
+
|
5
|
+
Addressed an issue with client keepalive transport acknowledgments. We
|
6
|
+
discovered a situation where poor Redis performance could negatively
|
7
|
+
impact client keepalive processing, potentially triggering a compounding
|
8
|
+
failure that the Sensu server is unable to recover from. Moving
|
9
|
+
acknowledgments to the next tick of the EventMachine reactor avoids the
|
10
|
+
situation entirely.
|
11
|
+
|
1
12
|
## 1.0.1 - 2017-07-24
|
2
13
|
|
3
14
|
### Fixes
|
data/lib/sensu/constants.rb
CHANGED
data/lib/sensu/server/process.rb
CHANGED
@@ -187,14 +187,14 @@ module Sensu
|
|
187
187
|
@logger.debug("received keepalive", :message => message)
|
188
188
|
begin
|
189
189
|
client = Sensu::JSON.load(message)
|
190
|
-
update_client_registry(client)
|
191
|
-
@transport.ack(message_info)
|
192
|
-
end
|
190
|
+
update_client_registry(client)
|
193
191
|
rescue Sensu::JSON::ParseError => error
|
194
192
|
@logger.error("failed to parse keepalive payload", {
|
195
193
|
:message => message,
|
196
194
|
:error => error.to_s
|
197
195
|
})
|
196
|
+
end
|
197
|
+
EM::next_tick do
|
198
198
|
@transport.ack(message_info)
|
199
199
|
end
|
200
200
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean Porter
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-07-
|
12
|
+
date: 2017-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: eventmachine
|