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

nats-io / nats-server / 10138220468 / 1
83%
main: 83%

Build:
DEFAULT BRANCH: main
Ran 29 Jul 2024 05:36AM UTC
Files 56
Run time 2s
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

29 Jul 2024 04:40AM UTC coverage: 85.162% (+0.08%) from 85.085%
10138220468.1

push

github

web-flow
[IMPROVED] LoadNextMsg for wildcard consumers with millions of subjects (#5710)

When LoadNextMsg misses, make sure to consult psim but conservatively.

We had a use case with millions of subjects and the last sequence
checked being in the next to the last block. The consumer had a wildcard
that matched lots of entries that were behind where we were. This would
burn alot of cpu and when a stream had lots of consumers and they shift
leadership this would introduce some instability due to all the cpu
cycles.

Signed-off-by: Derek Collison <derek@nats.io>

66091 of 77606 relevant lines covered (85.16%)

1289958.25 hits per line

Source Files on job 10138220468.1
  • Tree
  • List 0
  • Changed 44
  • Source Changed 1
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10138220468
  • 31d6d640 on github
  • Prev Job for on main (#10129015594.1)
  • Next Job for on main (#10156257606.1)
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