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

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

Build:
Build:
LAST BUILD BRANCH: pull/872/head
DEFAULT BRANCH: master
Ran 19 Dec 2019 02:14AM UTC
Files 12
Run time 1s
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

19 Dec 2019 02:14AM UTC coverage: 89.876%. First build
2.4.6, Gemfile

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>

1012 of 1126 relevant lines covered (89.88%)

193.48 hits per line

Source Files on job 1518.4 (2.4.6, Gemfile)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1374
  • Travis Job 1518.4
  • 03945533 on github
  • Next Job for 2.4.6, Gemfile on unblocking-buffer-overflow-with-block-action (#1519.4)
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