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

nats-io / nats-server / 17889091061
82%

Build:
DEFAULT BRANCH: main
Ran 21 Sep 2025 05:46AM UTC
Jobs 1
Files 60
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

19 Sep 2025 04:48PM UTC coverage: 86.111% (+0.07%) from 86.045%
17889091061

push

github

web-flow
(2.12) Filestore fixes (#7334)

This includes the following fixes for the filestore:

* The filestore buffer pools were unbalanced; a buffer retrieved from
one that was exactly the pool threshold size would be returned to a
different pool. This has been fixed and I've copied the same (working)
code from the client pools.
* Removed some code that was a hangover from the partial write caches in
`indexCacheBuf` that could potentially grow very large underlying
buffers and indexes in the wrong conditions.
* More optimistically reuse the `indexCacheBuf` parameter buffer if
possible, since it is going to have originated from the buffer pool
anyway via `loadMsgsWithLock`.
* When flushing pending messages with encryption, recycle the temporary
encrypted buffer when done.

Signed-off-by: Neil Twigg <neil@nats.io>

74333 of 86322 relevant lines covered (86.11%)

337516.75 hits per line

Coverage Regressions

Lines Coverage ∆ File
966
84.3
0.06% src/github.com/nats-io/nats-server/server/filestore.go
22
82.65
0.76% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
22
86.9
-0.03% src/github.com/nats-io/nats-server/server/raft.go
16
86.37
0.27% src/github.com/nats-io/nats-server/server/memstore.go
15
88.24
-0.22% src/github.com/nats-io/nats-server/server/consumer.go
8
95.1
-0.15% src/github.com/nats-io/nats-server/server/client.go
7
85.99
-0.05% src/github.com/nats-io/nats-server/server/stream.go
5
86.44
0.0% src/github.com/nats-io/nats-server/server/events.go
5
73.21
0.27% src/github.com/nats-io/nats-server/server/jetstream_api.go
4
81.78
-0.02% src/github.com/nats-io/nats-server/server/opts.go
4
94.28
-0.13% src/github.com/nats-io/nats-server/server/server.go
4
95.73
-0.37% src/github.com/nats-io/nats-server/server/websocket.go
2
87.03
0.26% src/github.com/nats-io/nats-server/server/accounts.go
2
94.3
-0.08% src/github.com/nats-io/nats-server/server/gateway.go
2
98.52
-1.48% src/github.com/nats-io/nats-server/server/jetstream_versioning.go
2
93.63
-0.08% src/github.com/nats-io/nats-server/server/route.go
Jobs
ID Job ID Ran Files Coverage
1 17889091061.1 21 Sep 2025 05:46AM UTC 60
86.11
GitHub Action Run
Source Files on build 17889091061
  • Tree
  • List 60
  • Changed 18
  • Source Changed 1
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17889091061
  • 53bf3e1b on github
  • Prev Build on main (#17848711991)
  • Next Build on main (#17935978632)
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