Skip to content

refactor: switch to ConnectionManager for RedisStore#130

Merged
ruslanti merged 1 commit into
mainfrom
fix/cache-api-kvrocks-broken-pipe-error
May 11, 2026
Merged

refactor: switch to ConnectionManager for RedisStore#130
ruslanti merged 1 commit into
mainfrom
fix/cache-api-kvrocks-broken-pipe-error

Conversation

@ruslanti
Copy link
Copy Markdown
Collaborator

@ruslanti ruslanti commented May 8, 2026

  • Replaced MultiplexedConnection with ConnectionManager to improve connection handling.
  • Enhanced resilience with transparent reconnections and exponential backoff on failures.

- Replaced `MultiplexedConnection` with `ConnectionManager` to improve connection handling.
- Enhanced resilience with transparent reconnections and exponential backoff on failures.
Copilot AI review requested due to automatic review settings May 8, 2026 16:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the Redis-backed RedisStore to use redis::aio::ConnectionManager instead of MultiplexedConnection, aiming to improve connection resilience via automatic reconnection behavior.

Changes:

  • Switched RedisStore’s internal connection type from MultiplexedConnection to ConnectionManager.
  • Updated RedisStore::open to construct a redis::Client and initialize a ConnectionManager.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ruslanti ruslanti requested a review from qrdl May 11, 2026 06:18
@ruslanti ruslanti self-assigned this May 11, 2026
@ruslanti ruslanti added the bug Something isn't working label May 11, 2026
@ruslanti ruslanti merged commit a691aad into main May 11, 2026
8 of 10 checks passed
@ruslanti ruslanti deleted the fix/cache-api-kvrocks-broken-pipe-error branch May 11, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants