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

nats-io / nats-server / 11762267160
83%

Build:
DEFAULT BRANCH: main
Ran 10 Nov 2024 05:41AM 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

09 Nov 2024 02:39AM UTC coverage: 85.341% (+0.01%) from 85.329%
11762267160

push

github

web-flow
[FIXED] Ghost consumers during meta recovery (#6092)

During meta recovery `ru.updateConsumers` and `ru.removeConsumers` would
not be properly cleared since the move from
`map[string]*consumerAssignment` to
`map[string]map[string]*consumerAssignment`. Which meant that consumers
that needed to be removed were both in `ru.removeConsumers` and left in
`ru.updateConsumers`. Resulting in a ghost consumer.

Also don't clear recovering state while we still have items to process
as part of recovery.

De-flakes `TestJetStreamClusterLostConsumers`, and makes
`TestJetStreamClusterConsumerLeak` more reliable by re-introducing the
`ca.pending` flag. Since the consumer leader responds for consumer
creation, but meta leader responds for consumer deletion, so need to
have the consumer assignment available so meta leader can respond
successfully.

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

---------

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

67818 of 79467 relevant lines covered (85.34%)

1113014.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11762267160.1 10 Nov 2024 05:41AM UTC 0
85.34
GitHub Action Run
Source Files on build 11762267160
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11762267160
  • 37d4461b on github
  • Prev Build on main (#11753399776)
  • Next Build on main (#11790867026)
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