|
Ran
|
Jobs
7
|
Files
72
|
Run time
7min
|
Badge
README BADGES
|
push
travis-ci
<a href="https://github.com/uken/fluent-plugin-elasticsearch/commit/<a class=hub.com/uken/fluent-plugin-elasticsearch/commit/039455335e6c493d032e3e0a2a52595b04650d60">039455335<a href="https://github.com/uken/fluent-plugin-elasticsearch/commit/039455335e6c493d032e3e0a2a52595b04650d60">">Unblock when buffer overflow action is block Fluentd stuck was occurred with the following scenario: * flushing thread try Output::write * fluent-plugin-elasticsearch try to write * It fails to write since Elasticsearch is freezed * It try Output::emit_buffered to write back the chunk * It cannot write to the buffer since buffer is full. * When overflow_action is :block, it can&#39;t return from the following loop because write of fluent-plugin-elasticsearch never be called until exiting from this loop: * https://github.com/fluent/fluentd/blob/</a><a class="double-link" href="https://github.com/uken/fluent-plugin-elasticsearch/commit/<a class="double-link" href="https://github.com/uken/fluent-plugin-elasticsearch/commit/fcef949ce40472547fde295ddd2cfe297e1eddd6">fcef949ce</a>">fcef949ce</a><a href="https://github.com/uken/fluent-plugin-elasticsearch/commit/039455335e6c493d032e3e0a2a52595b04650d60">/lib/fluent/plugin/output.rb#L896-L904 * It can't recover even if Elasticsearch is unfreezed since above infinite loop never exit. RetryStream feature is for sending another Elasticsearch cluster instead of exhausted Elasticsearch destination. But previous implementation for RetryStream caontains dangerous operation when buffer is fullfilled another buffer. Co-authored-by: Ashie Takuro <ashie@clear-code.com>
6005 of 6655 relevant lines covered (90.23%)
1302.56 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 1518.1 (2.1, Gemfile) | 0 |
89.52 |
Travis Job 1518.1 | |
| 2 | 1518.2 (2.2, Gemfile) | 0 |
89.6 |
Travis Job 1518.2 | |
| 3 | 1518.3 (2.3, Gemfile) | 0 |
89.88 |
Travis Job 1518.3 | |
| 4 | 1518.4 (2.4.6, Gemfile) | 0 |
89.88 |
Travis Job 1518.4 | |
| 5 | 1518.5 (2.5.5, Gemfile) | 0 |
89.89 |
Travis Job 1518.5 | |
| 6 | 1518.6 (2.6.3, gemfiles/Gemfile.ilm) | 0 |
92.61 |
Travis Job 1518.6 | |
| 7 | 1518.7 (2.6.3, Gemfile) | 0 |
89.73 |
Travis Job 1518.7 |