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

nats-io / nats-server / 15202508524
83%

Build:
DEFAULT BRANCH: main
Ran 23 May 2025 05:40AM UTC
Jobs 1
Files 58
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

22 May 2025 09:39AM UTC coverage: 85.569% (-0.03%) from 85.6%
15202508524

push

github

web-flow
(v2.12?) [ADD] allow stream placement to evict servers (#6138)

<!-- Please make sure to read CONTRIBUTING.md, then delete this notice
and replace it with your PR description. The below sign-off certifies
that the contribution is your original work and that you license the
work to the project under the Apache-2.0 license. We cannot accept
contributions without it. -->
NATS introduces the server tag `!jetstream`, enabling the eviction of
JetStream assets.
This same approach can be extended to streams.

This PR introduces the ability to evict specific servers from streams.

Signed-off-by: Ramon Berrutti <ramonberrutti@gmail.com>

69852 of 81632 relevant lines covered (85.57%)

361224.2 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.15
0.05% src/github.com/nats-io/nats-server/server/events.go
2
83.28
-0.02% src/github.com/nats-io/nats-server/server/filestore.go
2
63.16
-10.53% src/github.com/nats-io/nats-server/server/jetstream_events.go
4
94.53
-0.13% src/github.com/nats-io/nats-server/server/server.go
6
87.86
0.09% src/github.com/nats-io/nats-server/server/consumer.go
7
93.59
-0.16% src/github.com/nats-io/nats-server/server/route.go
8
72.9
-0.09% src/github.com/nats-io/nats-server/server/jetstream_api.go
8
81.19
-0.11% src/github.com/nats-io/nats-server/server/opts.go
9
85.17
-0.07% src/github.com/nats-io/nats-server/server/raft.go
11
85.31
-0.06% src/github.com/nats-io/nats-server/server/stream.go
21
85.67
-0.4% src/github.com/nats-io/nats-server/server/memstore.go
424
81.1
-0.41% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
Jobs
ID Job ID Ran Files Coverage
1 15202508524.1 23 May 2025 05:40AM UTC 58
85.57
GitHub Action Run
Source Files on build 15202508524
  • Tree
  • List 58
  • Changed 18
  • Source Changed 1
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #15202508524
  • 7c7bd771 on github
  • Prev Build on main (#15178335836)
  • Next Build on main (#15223561540)
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