Skip to content
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

Redis state store component doesn't distinguish between network and Redis errors on Set #3584

Open
elena-kolevska opened this issue Oct 28, 2024 · 0 comments
Labels
kind/bug Something isn't working

Comments

@elena-kolevska
Copy link
Contributor

Expected Behavior

When setting a key in Redis errors out, as a developer, I should know the reason. For example if the error is due to an old etag I should retry with a new etag, if it's because Redis is unavailable, I should retry with some kind of retry policy.

Actual Behavior

Dapr returns the same error for both cases mentioned above.

Steps to Reproduce the Problem

Case 1: Try to save a key with an inexistant etag.
Case 2: Start Dapr, stop Redis, try to save a valid key (ex. no etag).

Release Note

RELEASE NOTE:
RELEASE NOTE: FIX Distinguish between Redis and network errors in State API

@elena-kolevska elena-kolevska added the kind/bug Something isn't working label Oct 28, 2024
@elena-kolevska elena-kolevska changed the title Redis state store component doesn't distinguish between network and Redis errors on set Redis state store component doesn't distinguish between network and Redis errors on Set Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant