StackExchange / StackExchange/StackExchange.Redis

StringGetWithExpiry value is null

Open
#2,551 4 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

Run the program on my mac 10.15.7
The value obtained using the StringGetWithExpiry method is empty, but the expiration time exists. This result value is valid on redis.
image
image

The results all work very well under Windows 11.
dotnet sdk 7.0.100
netframework: net7.0

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

Start by reproducing StringGetWithExpiry on macOS 10.15.7 with .NET SDK 7.0.100, then compare the returned value and expiration time with the Windows 11 result. Done means the method reliably returns the stored value together with its expiration time, or the platform-specific cause is documented.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.