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

nats-io / nats-server / 20771013472
86%

Build:
DEFAULT BRANCH: main
Ran 07 Jan 2026 05:58AM UTC
Jobs 1
Files 61
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

06 Jan 2026 10:29AM UTC coverage: 84.61% (+0.3%) from 84.295%
20771013472

push

github

web-flow
Reduce contention on `ConsumerStore` creation (#7700)

Previously creating a `ConsumerStore` required taking the stream lock to
determine whether the parent stream store was closed or not. Switch to
an atomic so that this no longer requires the lock.

This should speed up creating consumers in a system where the streams
are heavily loaded or contended.

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

74103 of 87582 relevant lines covered (84.61%)

328263.11 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
87.11
0.21% src/github.com/nats-io/nats-server/server/accounts.go
2
83.73
-0.09% src/github.com/nats-io/nats-server/server/jetstream.go
3
90.16
-0.12% src/github.com/nats-io/nats-server/server/leafnode.go
3
68.45
-0.95% src/github.com/nats-io/nats-server/server/ocsp_peer.go
3
87.89
0.96% src/github.com/nats-io/nats-server/server/raft.go
5
79.3
0.29% src/github.com/nats-io/nats-server/server/opts.go
6
93.84
-0.16% src/github.com/nats-io/nats-server/server/gateway.go
7
54.4
-0.47% src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go
10
86.16
-0.19% src/github.com/nats-io/nats-server/server/events.go
14
88.56
-0.04% src/github.com/nats-io/nats-server/server/consumer.go
15
86.18
-0.14% src/github.com/nats-io/nats-server/server/stream.go
28
82.32
0.12% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
601
82.28
-0.61% src/github.com/nats-io/nats-server/server/filestore.go
Jobs
ID Job ID Ran Files Coverage
1 20771013472.1 07 Jan 2026 05:58AM UTC 61
84.61
GitHub Action Run
Source Files on build 20771013472
  • Tree
  • List 61
  • Changed 24
  • Source Changed 1
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20771013472
  • 1723f25c on github
  • Prev Build on main (#20738435698)
  • Next Build on main (#20805906038)
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