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

nats-io / nats-server
76%

Build:
DEFAULT BRANCH: main
Repo Added 06 May 2019 06:55PM UTC
Files 67
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

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • change_nightly_from_main_to_dev
  • fix_code_coverage
  • fix_flappers_update_cov_go
  • main

14 Aug 2026 09:14AM UTC coverage: 75.99% (-0.6%) from 76.577%
31927600024

push

github

web-flow
(2.15) [FIXED] Migration added offline peers & removed peers before catchup (#8460)

This PR fixes two remaining issues, and removes the final two FIXMEs:

- Migrations would add peers as fast as possible, without checking
whether the peer being added was even online. Adding an offline peer
grows the quorum size, which could drop the group out of quorum until
enough nodes came online. `selectPeerToAdd` now prefers the candidate
we've heard from most recently, and only adds an unheard peer if the
live members still reach quorum in the grown group.
- Migrations also didn't wait for upper-layer stream catchup to complete
before removing old peers. An old peer is now only removed if the group
left after the removal retains a store-current majority, based on
`Current`/`Lag` and the stream's active `catchupPeers`.

Follow-up of https://github.com/nats-io/nats-server/pull/8432

73186 of 96310 relevant lines covered (75.99%)

487529.74 hits per line

Relevant lines Covered
Build:
Build:
96310 RELEVANT LINES 73186 COVERED LINES
487529.74 HITS PER LINE
Source Files on main
  • Tree
  • List 67
  • Changed 27
  • Source Changed 10
  • Coverage Changed 27
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
31927600024 main (2.15) [FIXED] Migration added offline peers & removed peers before catchup (#8460) This PR fixes two remaining issues, and removes the final two FIXMEs: - Migrations would add peers as fast as possible, without checking whether the peer being a... push 16 Aug 2026 05:56AM UTC web-flow github
75.99
31865403518 main (2.15) [FIXED] Migration added offline peers & removed peers before catchup (#8460) This PR fixes two remaining issues, and removes the final two FIXMEs: - Migrations would add peers as fast as possible, without checking whether the peer being a... push 15 Aug 2026 05:55AM UTC web-flow github
76.61
31772366452 main (2.15) [IMPROVED] Source stream recreation detection (#8384) Previously if you started sourcing from a stream that was recreated, it would wait for the recreated stream's sequence to move back up to the last sourced sequence before it accepted ne... push 14 Aug 2026 06:20AM UTC web-flow github
76.58
31669718926 main De-flake TestJetStreamSuperClusterStreamDirectGetMirrorQueueGroup (#8457) push 13 Aug 2026 06:21AM UTC web-flow github
77.39
31565871168 main [FIXED] Idempotent stream create uses same created timestamp (#8449) Follow-up of https://github.com/nats-io/nats-server/pull/8413 An idempotent stream create was not actually idempotent. The `Created` timestamp in the assignment would be update... push 12 Aug 2026 06:19AM UTC web-flow github
76.46
31460289290 main (2.15) [ADDED] Meta peer set rescue for disaster recovery (#8408) Implements ADR: [Reconfiguring the JetStream meta peer set for disaster recovery](https://github.com/nats-io/nats-architecture-and-design/pull/418) This PR adds a `$JS.API.META.RE... push 11 Aug 2026 06:07AM UTC web-flow github
81.1
31357667583 main (2.15) [ADDED] Domain prefixed JetStream API in the system account (#8429) The system account can be shared between a hub and leaf cluster, but having different domains. This ensures they are treated as two separate JetStream meta groups. Before ... push 10 Aug 2026 06:14AM UTC web-flow github
77.24
31295765073 main (2.15) [ADDED] Domain prefixed JetStream API in the system account (#8429) The system account can be shared between a hub and leaf cluster, but having different domains. This ensures they are treated as two separate JetStream meta groups. Before ... push 09 Aug 2026 06:06AM UTC web-flow github
77.34
31240673928 main (2.15) [ADDED] Domain prefixed JetStream API in the system account (#8429) The system account can be shared between a hub and leaf cluster, but having different domains. This ensures they are treated as two separate JetStream meta groups. Before ... push 08 Aug 2026 06:05AM UTC web-flow github
77.21
31074553791 main [FIXED] SetLoggerV2 deadlocks when prev logger errors on close (#8430) Calling `s.Errorf(...)` within `s.logging.Lock(); ...; s.logging.Unlock()` would result in a deadlock, 'cause `s.Errorf()` tries to acquire the same mutex (`s.logging`). Repr... push 06 Aug 2026 06:40AM UTC web-flow github
77.37
See All Builds (6220)
  • Repo on GitHub
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