-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
System.ArgumentOutOfRangeException during high read/write scenarios #346
Comments
@seanamorosoamtote can you provide the reproduce steps? Casbin model? policy? and code? |
Our model:
The code that throws the exception is simply calling It is very intermittent but occurs during our integration test phase where we are constantly reading and writing the policy. So there isn't a straight-forward reproducible steps, you would have to potentially create something that was updating the policy in the background while enforcing in another thread. |
🎉 This issue has been resolved in version 2.9.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
During our testing phase we are continually updating the policies and testing enforcement of various domain objects. We noticed that very intermittently we will get an ArgumentOfRangeException with the following call stack:
For now we are going to just try to retry the exception, but looking for a more stable solution here, thanks!
The text was updated successfully, but these errors were encountered: