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

nats-io / nats-server / 10052838386

23 Jul 2024 03:14AM CUT coverage: 85.183% (-0.02%) from 85.205%
10052838386

push

github

web-flow
NRG (2.11): Don't revert `term` to `pterm` on AE mismatch (#5684)

Beforehand when we were trying to run a catchup, we were reverting the
`term` back to `pterm`. We can't ever move the term backwards safely and
the catchup itself does not rely on this behaviour in order to work (as
the catchup entries are matched only on `pterm`/`pindex`), so don't
revert it.

We saw this behaviour in Antithesis where a catchup could take us back a
term.

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

66135 of 77639 relevant lines covered (85.18%)

953288.99 hits per line

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

66.67
/src/github.com/nats-io/nats-server/server/jetstream_events.go


Source Not Available

The file "src/github.com/nats-io/nats-server/server/jetstream_events.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

© 2025 Coveralls, Inc