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

nats-io / nats-server / 12309740565
84%

Build:
DEFAULT BRANCH: main
Ran 13 Dec 2024 05:42AM 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

12 Dec 2024 10:25PM UTC coverage: 85.384% (+0.06%) from 85.324%
12309740565

push

github

web-flow
NRG (2.11): Don't run catchup when behind on applies (#6216)

When a server restarts and is behind enough it will require to be caught
up from a snapshot. If after receiving a snapshot from the leader the
leader itself shuts down, the remaining server (in a R3 scenario) will
become leader.

If this new leader is behind on applies it should not fulfill the
catchup request. Messages that would be returned as part of the catchup
might be deleted as part of the unapplied append entries. And sending
these messages over to the follower would mean the follower wouldn't be
able to remove them as part of the append entries if they were meant to
be deleted.

Either way, the new leader is temporarily unable to fulfill the catchup
request and must wait for its applies to reach the minimum required for
the catchup response to be valid.

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

68309 of 80002 relevant lines covered (85.38%)

1492148.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12309740565.1 13 Dec 2024 05:42AM UTC 0
85.38
GitHub Action Run
Source Files on build 12309740565
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12309740565
  • e79e5059 on github
  • Prev Build on main (#12289995750)
  • Next Build on main (#12326964845)
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