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

nats-io / nats-server / 17875444372
82%

Build:
DEFAULT BRANCH: main
Ran 20 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: 85.964% (-0.08%) from 86.045%
17875444372

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>

74206 of 86322 relevant lines covered (85.96%)

368684.43 hits per line

Coverage Regressions

Lines Coverage ∆ File
961
84.36
0.11% src/github.com/nats-io/nats-server/server/filestore.go
49
81.34
-0.55% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
27
86.37
-0.56% src/github.com/nats-io/nats-server/server/raft.go
18
88.33
-0.13% src/github.com/nats-io/nats-server/server/consumer.go
17
94.91
-0.35% src/github.com/nats-io/nats-server/server/client.go
16
86.37
0.27% src/github.com/nats-io/nats-server/server/memstore.go
12
81.61
-0.19% src/github.com/nats-io/nats-server/server/opts.go
9
73.29
0.35% src/github.com/nats-io/nats-server/server/jetstream_api.go
5
93.51
-0.2% src/github.com/nats-io/nats-server/server/route.go
4
86.26
-0.19% src/github.com/nats-io/nats-server/server/events.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
87.02
-0.07% src/github.com/nats-io/nats-server/server/monitor.go
Jobs
ID Job ID Ran Files Coverage
1 17875444372.1 20 Sep 2025 05:46AM UTC 60
85.96
GitHub Action Run
Source Files on build 17875444372
  • Tree
  • List 60
  • Changed 16
  • Source Changed 1
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17875444372
  • 53bf3e1b on github
  • Prev Build on main (#17848711991)
  • Next Build on main (#17889091061)
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