• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

uken / fluent-plugin-elasticsearch / 1518
90%
master: 94%

Build:
Build:
LAST BUILD BRANCH: pull/872/head
DEFAULT BRANCH: master
Ran 19 Dec 2019 02:14AM UTC
Jobs 7
Files 72
Run time 7min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1518

push

travis-ci

Hiroshi Hatake
<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">&quot;&gt;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&amp;#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&#39;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

Jobs
ID Job ID Ran Files Coverage
1 1518.1 (2.1, Gemfile) 19 Dec 2019 02:15AM UTC 0
89.52
Travis Job 1518.1
2 1518.2 (2.2, Gemfile) 19 Dec 2019 02:14AM UTC 0
89.6
Travis Job 1518.2
3 1518.3 (2.3, Gemfile) 19 Dec 2019 02:14AM UTC 0
89.88
Travis Job 1518.3
4 1518.4 (2.4.6, Gemfile) 19 Dec 2019 02:14AM UTC 0
89.88
Travis Job 1518.4
5 1518.5 (2.5.5, Gemfile) 19 Dec 2019 02:14AM UTC 0
89.89
Travis Job 1518.5
6 1518.6 (2.6.3, gemfiles/Gemfile.ilm) 19 Dec 2019 02:20AM UTC 0
92.61
Travis Job 1518.6
7 1518.7 (2.6.3, Gemfile) 19 Dec 2019 02:22AM UTC 0
89.73
Travis Job 1518.7
Source Files on build 1518
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1518
  • 03945533 on github
  • Next Build on unblocking-buffer-overflow-with-block-action (#1519)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc