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

nats-io / nats-server / 20805906038
85%

Build:
DEFAULT BRANCH: main
Ran 08 Jan 2026 05:57AM 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.67% (+0.4%) from 84.295%
20805906038

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>

74156 of 87582 relevant lines covered (84.67%)

324215.24 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
82.99
-0.05% src/github.com/nats-io/nats-server/server/memstore.go
2
93.94
0.09% src/github.com/nats-io/nats-server/server/client.go
2
87.16
0.0% src/github.com/nats-io/nats-server/server/monitor.go
2
91.39
4.38% src/github.com/nats-io/nats-server/server/route.go
2
86.43
0.1% src/github.com/nats-io/nats-server/server/stream.go
2
86.18
0.0% src/github.com/nats-io/nats-server/server/util.go
3
73.79
0.08% src/github.com/nats-io/nats-server/server/jetstream_api.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
5
86.44
0.09% src/github.com/nats-io/nats-server/server/events.go
8
82.66
0.46% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
10
93.6
-0.41% src/github.com/nats-io/nats-server/server/gateway.go
16
88.39
-0.21% src/github.com/nats-io/nats-server/server/consumer.go
539
82.92
0.03% src/github.com/nats-io/nats-server/server/filestore.go
Jobs
ID Job ID Ran Files Coverage
1 20805906038.1 08 Jan 2026 05:57AM UTC 61
84.67
GitHub Action Run
Source Files on build 20805906038
  • Tree
  • List 61
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20805906038
  • 1723f25c on github
  • Prev Build on main (#20738435698)
  • Next Build on main (#20841621141)
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