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

nats-io / nats-server / 13691379631
83%

Build:
DEFAULT BRANCH: main
Ran 06 Mar 2025 05:41AM UTC
Jobs 1
Files 57
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 Mar 2025 01:46AM UTC coverage: 85.277% (-0.2%) from 85.448%
13691379631

push

github

web-flow
[FIXED] Gateway: Possible loss of queue sub interest on restart (#6607)

If a server has a connection from a route or a leaf and the remote has
more than one member of the same queue group, when the connection is
recreated (due to network issue or server restart), then count coming
from the connection would be greater than 1 but the server would store
the interest count for outbound gateways as 1.

When one of the remote queue subscriber unsubscribes, the count would go
down to 0 and the server would incorrectly send a protocol to the
gateway indicating that there is no longer interest for this queue
group, which would stop the flow.

A new queue subscriber on that group would resume the flow.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>

68978 of 80887 relevant lines covered (85.28%)

481473.9 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.03
0.1% src/github.com/nats-io/nats-server/server/events.go
2
63.16
-10.53% src/github.com/nats-io/nats-server/server/jetstream_events.go
2
83.28
-0.12% src/github.com/nats-io/nats-server/server/memstore.go
3
86.16
-0.09% src/github.com/nats-io/nats-server/server/accounts.go
3
89.42
-0.08% src/github.com/nats-io/nats-server/server/mqtt.go
3
93.64
-0.12% src/github.com/nats-io/nats-server/server/route.go
4
93.73
-0.08% src/github.com/nats-io/nats-server/server/gateway.go
6
94.97
0.05% src/github.com/nats-io/nats-server/server/client.go
6
73.44
-0.03% src/github.com/nats-io/nats-server/server/jetstream_api.go
6
84.71
0.3% src/github.com/nats-io/nats-server/server/raft.go
11
52.37
-0.55% src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go
16
84.68
-0.3% src/github.com/nats-io/nats-server/server/stream.go
26
87.57
-0.44% src/github.com/nats-io/nats-server/server/consumer.go
63
81.14
-0.57% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
64
82.55
-0.79% src/github.com/nats-io/nats-server/server/filestore.go
Jobs
ID Job ID Ran Files Coverage
1 13691379631.1 06 Mar 2025 05:41AM UTC 57
85.28
GitHub Action Run
Source Files on build 13691379631
  • Tree
  • List 57
  • Changed 18
  • Source Changed 1
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13691379631
  • dd8dbe7d on github
  • Prev Build on main (#13646406041)
  • Next Build on main (#13734109697)
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