Skip to content

Fix shard router live config reload#942

Open
Jerry-Tekh wants to merge 1 commit into
rinafcode:mainfrom
Jerry-Tekh:fix/shard-router-live-reload
Open

Fix shard router live config reload#942
Jerry-Tekh wants to merge 1 commit into
rinafcode:mainfrom
Jerry-Tekh:fix/shard-router-live-reload

Conversation

@Jerry-Tekh

Copy link
Copy Markdown

Summary

  • add runtime shard config reload and Redis pub/sub listener for shard:config:updated
  • swap immutable routing snapshots atomically during ring rebuilds
  • add /sharding/reload admin endpoint and live-reload routing coverage

Tests

  • npm test -- shard-router.spec.ts --runInBand --detectOpenHandles
  • npm run typecheck

Closes #813

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Jerry-Tekh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Shard consistent-hash ring is only built at startup with no live reload

1 participant