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 backend with race check bug #41

Closed
radandrei opened this issue Apr 18, 2024 · 1 comment
Closed

Redis backend with race check bug #41

radandrei opened this issue Apr 18, 2024 · 1 comment

Comments

@radandrei
Copy link
Contributor

radandrei commented Apr 18, 2024

This is a corner case for the issue addressed here: #29.
This occurs when the version fetched by State() is deleted before SetState() is executed. That will cause an error: got [1 1 OK OK] from redis, expected [<version_before_remove>+1 1 OK OK] raised by checkResponseFromRedis.

Potential solution is to always expect version to be in initial state: #42

@mennanov
Copy link
Owner

Fixed in #42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants