-
Notifications
You must be signed in to change notification settings - Fork 502
-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microsoft.Extensions.Caching.StackExchangeRedis SetString BUG #121
Comments
Currently, garnet does not fully support all redis commands. |
What commands are unsupported for this scenario? |
See #85 |
You can see api-compatibility. |
Can you provide a simple repro - it should be possible to detect what variant of SET is being sent and add that relatively easily. |
Or, just run the Garnet server in Debug mode with these three lines uncommented and with --logger-level Trace, then it will tell you what was received and unable to handle: https://github.com/microsoft/garnet/blob/main/libs/server/Resp/RespServerSession.cs#L241 |
All the details are on #85
|
Closing as the error will resolve once the above PR eliminating Lua merges. |
My project uses Microsoft.Extensions.Caching.StackExchangeRedis as the implementation of distributed cache. When connected to Garnet, the Set action will return an ERR unknown command exception.
IDistributedCache distributedCache
distributedCache.SetString(key, value, new DistributedCacheEntryOptions { AbsoluteExpirationRelativeToNow = absoluteExpirationRelativeToNow });
ERR unknown command
The text was updated successfully, but these errors were encountered: