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

nats-io / nats-server / 20841621141

08 Jan 2026 09:02AM UTC coverage: 84.561% (-0.1%) from 84.67%
20841621141

push

github

web-flow
[FIXED] Concurrent map iter/write for WQ stream unique consumer partition (#7708)

There's a `fatal error: concurrent map iteration and map write` when
ranging over the `mset.consumers` in `mset.partitionUnique`.

The stream lock must be held when calling `mset.partitionUnique`. The
consumer read lock must also be held when reading and iterating over
`o.subjf`.

Resolves https://github.com/nats-io/nats-server/issues/7707

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>

74065 of 87588 relevant lines covered (84.56%)

352865.2 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

54.4
/src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go


Source Not Available

The file "src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go" isn't available on github. Either it's been removed, or the repo root directory needs to be updated.

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