-
Notifications
You must be signed in to change notification settings - Fork 1.1k
It throws java.util.ConcurrentModificationException when i use RedisLockRegistry #2983
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
Comments
What version are you using? |
I am using 5.1.3.RELEASE, OK, thank you very much! |
After I update the package from 5.1.3.RELEASE to 5.1.6.RELEASE, It seems that the exception never occured in my demo above. however, It still throws ConcurrentModificationException rarely in my project. And it seems that the probability of occurrence is lower then before.
the code in SyncDataHelper.java:262 is: |
I don't see how that's possible; it is now a
The "probability" is zero.
Your stack trace does not include the |
I checked the stack trace and code in 5.1.3 and 5.1.6. I think you are right. Thank you very much! |
I am using RedisLockRegistry for distributed lock. but sometimes it throws java.util.ConcurrentModificationException when I unlock. I have wrote a demo code as below:
In this demo I did not use the exlusion of distributed lock.
and this is caller code:
here are the logs:
Is it a bug? Could you help me please? thank you very much!
The text was updated successfully, but these errors were encountered: