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

nats-io / nats-server / 12112831049 / 1
82%
main: 82%

Build:
DEFAULT BRANCH: main
Ran 02 Dec 2024 05:43AM UTC
Files 57
Run time 3s
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 Nov 2024 05:42PM UTC coverage: 85.3% (+0.03%) from 85.273%
12112831049.1

push

github

web-flow
Reduce size of meta snapshots further (#6189)

We would not expect to respond to a consumer assignment after, e.g. a
restart, and we don't store these for stream assignments already,
therefore the `subject` and `reply` fields do not need to be encoded for
consumer assignments either.

Similarly, the `stream` name doesn't need to be repeated for each
consumer assignment either, as we can just pull that out of the parent
stream assignment when decoding, so don't encode that either.

This should further reduce the size of meta snapshots and, with it,
reduce their encoding/decoding time.

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

68100 of 79836 relevant lines covered (85.3%)

1054073.16 hits per line

Source Files on job 12112831049.1
  • Tree
  • List 0
  • Changed 44
  • Source Changed 1
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12112831049
  • 211af6a5 on github
  • Prev Job for on main (#12079128551.1)
  • Next Job for on main (#12133102383.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