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

nats-io / nats-server / 13212408133
84%

Build:
DEFAULT BRANCH: main
Ran 08 Feb 2025 05:44AM 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

07 Feb 2025 08:20PM UTC coverage: 85.476% (-0.05%) from 85.529%
13212408133

push

github

web-flow
Purge requests with no subject delete markers (#6470)

As per [the
ADR](https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-43.md#purge-api-call-marker),
this adds the `no_markers` flag to the JS API stream purge request, such
that a stream can be purged without leaving behind any subject delete
markers, if they are enabled.

This helps to avoid the "poison pill" problem if there are subjects for
example that are causing problems with a consuming application.

Individual message deletes are less of a concern here because a single
message delete will leave behind at most one marker, which can be
deleted too (and would not be replaced in that case), but a purge can
potentially leave behind lots of markers for lots of subjects, which
could be difficult to sort through by hand otherwise.

Signed-off-by: Neil Twigg <neil@nats.io>

69073 of 80810 relevant lines covered (85.48%)

716990.21 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
78.57
0.0% src/github.com/nats-io/nats-server/server/disk_avail.go
2
84.5
-0.07% src/github.com/nats-io/nats-server/server/monitor.go
2
97.62
-2.38% src/github.com/nats-io/nats-server/server/jetstream_versioning.go
2
85.0
0.02% src/github.com/nats-io/nats-server/server/stream.go
2
63.16
-10.53% src/github.com/nats-io/nats-server/server/jetstream_events.go
4
95.72
-0.37% src/github.com/nats-io/nats-server/server/websocket.go
4
85.97
-0.19% src/github.com/nats-io/nats-server/server/events.go
5
81.62
0.0% src/github.com/nats-io/nats-server/server/signal.go
5
93.36
-0.21% src/github.com/nats-io/nats-server/server/route.go
6
82.74
-0.18% src/github.com/nats-io/nats-server/server/jetstream.go
7
74.26
-2.07% src/github.com/nats-io/nats-server/server/store.go
7
52.69
-0.24% src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go
8
93.79
-0.17% src/github.com/nats-io/nats-server/server/gateway.go
8
71.88
0.0% src/github.com/nats-io/nats-server/logger/syslog.go
11
80.79
-0.04% src/github.com/nats-io/nats-server/server/opts.go
13
81.8
0.22% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
14
84.25
0.27% src/github.com/nats-io/nats-server/server/raft.go
121
84.12
-0.11% src/github.com/nats-io/nats-server/server/memstore.go
131
95.04
-0.07% src/github.com/nats-io/nats-server/server/client.go
180
88.25
-0.35% src/github.com/nats-io/nats-server/server/consumer.go
301
83.69
-0.08% src/github.com/nats-io/nats-server/server/filestore.go
656
73.32
-0.2% src/github.com/nats-io/nats-server/server/jetstream_api.go
Jobs
ID Job ID Ran Files Coverage
1 13212408133.1 08 Feb 2025 05:44AM UTC 57
85.48
GitHub Action Run
Source Files on build 13212408133
  • Tree
  • List 57
  • Changed 47
  • Source Changed 12
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13212408133
  • dc702bd3 on github
  • Prev Build on main (#13193359720)
  • Next Build on main (#13222447978)
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