StackExchange / StackExchange/StackExchange.Redis

Redis client does not work when disconnected and reconnected on Linux

Open
#2,894 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.2k
Forks
1.6k
Avg merge
1d 15h
Merged PRs (30d)
43

Description

Redis client does not work when disconnected and reconnected on Linux
Configure config. ReconnectRetroPolicy=new Exponential Retro (5000);
All other configurations are correct. Under Windows, reconnection is not a problem, but under Linux, reconnection does not work. If the time exceeds 20 seconds, the background cannot be pulled up and reconnected.

The server test versions are Windows 11 and Ubuntu 20

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by reproducing the configured reconnect behavior on Ubuntu 20 after disconnecting for more than 20 seconds, then compare it with Windows 11 using the same Redis client and Exponential Retry policy. Done means the client reconnects and resumes background activity on Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, redis
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.