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

whatyouhide / redix / e771af793b84c15bb3f95f5011a274932fa87a9b-PR-331
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: al/redirect-transactions
DEFAULT BRANCH: main
Ran 11 Jun 2026 09:57AM UTC
Jobs 1
Files 17
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

11 Jun 2026 09:56AM UTC coverage: 89.668% (+0.03%) from 89.637%
e771af793b84c15bb3f95f5011a274932fa87a9b-PR-331

Pull #331

github

whatyouhide
Connect on demand for ASK redirects in cluster

The classic ASK scenario is a slot migrating to a brand-new node: a node
serving zero slots doesn't appear in CLUSTER SLOTS at all, so it has no
Registry entry and no topology refresh will ever connect it. Until now
handle_ask_redirect/6 returned a fabricated "ASK to unreachable node"
error on a Registry miss, so every ASK-redirected command failed until
the first slot migration completed, breaking scale-out resharding.

Mirror the MOVED fallback: on a Registry miss, connect on demand via
Manager.connect_to_node/2. ASK targets are cluster members, and the next
ensure_connections adopts or terminates the connection just like for
MOVED, so a bogus address can't leak connections.

Fixes #319.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pull Request #331: Connect on demand for ASK redirects in cluster

5 of 5 new or added lines in 1 file covered. (100.0%)

1163 of 1297 relevant lines covered (89.67%)

3648.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 e771af793b84c15bb3f95f5011a274932fa87a9b-PR-331.1 11 Jun 2026 09:57AM UTC 17
89.67
GitHub Action Run
Source Files on build e771af793b84c15bb3f95f5011a274932fa87a9b-PR-331
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #331
  • PR Base - main (#1706B1EE...)
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