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

nats-io / nats-server / 39098244351
75%

Build:
DEFAULT BRANCH: main
Ran 18 Oct 2026 05:51AM UTC
Jobs 1
Files 66
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

15 Oct 2026 06:16AM UTC coverage: 80.449% (+0.6%) from 79.864%
39098244351

push

github

web-flow
(2.15) [FIXED] Scale up from R1 and scale down stalling on learners (#8762)

Scale down would wait for new peers (learners) to be added before
selecting the scale down peers. Selecting the scale down peers first can
remove the need to add, or wait for, (as many) learners.

Additionally, when scaling up from R1 with writes outpacing replication,
the learner would only be added once fully caught up. Since R1 quorum is
instant, as it doesn't wait on the network, the learner could keep
trailing and never be added. The first learner is now added after at
most 10s. Catchup is usually much faster than that, but in such a
pathological scenario this needs to be bounded to provide backpressure.

70808 of 88016 relevant lines covered (80.45%)

321752.57 hits per line

Coverage Regressions

Lines Coverage ∆ File
56
77.68
-0.46% src/github.com/nats-io/nats-server/server/filestore.go
18
83.82
0.03% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
13
77.92
1.39% src/github.com/nats-io/nats-server/server/raft.go
6
87.46
0.09% src/github.com/nats-io/nats-server/server/consumer.go
6
73.88
0.26% src/github.com/nats-io/nats-server/server/jetstream_api.go
5
93.89
-0.24% src/github.com/nats-io/nats-server/server/gateway.go
4
89.37
-0.04% src/github.com/nats-io/nats-server/server/leafnode.go
4
86.37
-0.07% src/github.com/nats-io/nats-server/server/monitor.go
4
85.87
0.08% src/github.com/nats-io/nats-server/server/stream.go
2
72.73
-0.42% src/github.com/nats-io/nats-server/server/avl/seqset.go
2
71.7
-1.26% src/github.com/nats-io/nats-server/server/log.go
2
81.98
-0.09% src/github.com/nats-io/nats-server/server/route.go
2
88.82
-0.07% src/github.com/nats-io/nats-server/server/server.go
1
84.54
-0.05% src/github.com/nats-io/nats-server/server/events.go
Jobs
ID Job ID Ran Files Coverage
1 39098244351.1 18 Oct 2026 05:51AM UTC 66
80.45
GitHub Action Run
Source Files on build 39098244351
  • Tree
  • List 66
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39098244351
  • b55d9693 on github
  • Prev Build on main (#39003751387)
  • Next Build on main (#39201536505)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc