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

fluent / fluent-plugin-opensearch / 35073772214
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: fix-customize-template
DEFAULT BRANCH: main
Ran 16 Sep 2026 08:32AM UTC
Jobs 1
Files 13
Run time 1min
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

16 Sep 2026 08:02AM UTC coverage: 92.863% (+0.02%) from 92.846%
35073772214

Pull #195

github

kenhys
out_opensearch: lock the client cache against flush threads

Before: client() cleared the shared @_os slot and then rebuilt it with
`||=`, without a lock. With flush_thread_count of 2 or more and a host
placeholder, a thread could pass the "is this the same host" check and
then pick up the client another thread had just built for a different
host, so its chunk went to that cluster instead.

After: the whole check-and-build runs under a mutex, so a thread always
gets a client for the host it asked for. The mutex is created in
initialize because configure builds a client before it returns.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Pull Request #195: out_opensearch: lock the client cache against flush threads

10 of 10 new or added lines in 1 file covered. (100.0%)

16 existing lines in 1 file now uncovered.

1197 of 1289 relevant lines covered (92.86%)

315.48 hits per line

Coverage Regressions

Lines Coverage ∆ File
16
95.94
0.02% lib/fluent/plugin/out_opensearch.rb
Jobs
ID Job ID Ran Files Coverage
1 35073772214.1 16 Sep 2026 08:32AM UTC 26
92.86
GitHub Action Run
Source Files on build 35073772214
  • Tree
  • List 13
  • Changed 13
  • Source Changed 1
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35073772214
  • Pull Request #195
  • PR Base - main (#34573217247)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc