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

nats-io / nats-streaming-server / 2001 / 2
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: add-eol-note
DEFAULT BRANCH: main
Ran 22 Jul 2019 09:48PM UTC
Files 25
Run time 5s
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

22 Jul 2019 09:18PM UTC coverage: 91.933% (+0.03%) from 91.903%
GO111MODULE=off

Pull #886

travis-ci

web-flow
Fixed implementation of FileStore auto-sync feature

The original implementation was having a central timer routine
that would go through the list of channels (interface) and cast
them to FileMsgStore and FileSubStore to invoke the stores' autoSync()
functions.
However, with stores that wrap a FileStore instance (such as RAFT or
Crypto store), that would cause a panic since the casting would fail.

Alternative fix would have been for FileStore to maintain a separate
map of actual File[Msg/Sub]Store, but I chose instead to move the
call to autoSync() into the Msg/Sub stores themselves.

Relates to #882

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Pull Request #886: Fixed implementation of FileStore auto-sync feature

11840 of 12879 relevant lines covered (91.93%)

46243.88 hits per line

Source Files on job 2001.2 (GO111MODULE=off)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1768
  • Travis Job 2001.2
  • efbb7bbe on github
  • Prev Job for GO111MODULE=off on fix_for_auto_sync (#1995.2)
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