We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Linux
develop
openjdk8
rocketmq/store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java
Lines 288 to 295 in cc16a1b
The newSyncStateSet foreach maybe ConcurrentModificationException and cause the checkSyncStateSetTask stop forever.
ConcurrentModificationException
The connectionCaughtUpTimeTable always not contain masterBrokerId, it will cause mark synchronizing frequently when shrink syncStateSet.
connectionCaughtUpTimeTable
Use the latest develop branch code, just run in controller mode.
No error happen or No shrink if the syncStateSet no change.
No response
The text was updated successfully, but these errors were encountered:
[ISSUE apache#7219] Fix Concurrent modify syncStateSet and Mark synch…
640ce45
…ronizing frequently when shrink.
@echooymxq Good catch!
Sorry, something went wrong.
[ISSUE #7219] Fix Concurrent modify syncStateSet and Mark synchronizi…
017ad11
…ng frequently when shrink. (#7220)
Successfully merging a pull request may close this issue.
Before Creating the Bug Report
I found a bug, not just asking a question, which should be created in GitHub Discussions.
I have searched the GitHub Issues and GitHub Discussions of this repository and believe that this is not a duplicate.
I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
Runtime platform environment
Linux
RocketMQ version
develop
JDK Version
openjdk8
Describe the Bug
rocketmq/store/src/main/java/org/apache/rocketmq/store/ha/autoswitch/AutoSwitchHAService.java
Lines 288 to 295 in cc16a1b
The newSyncStateSet foreach maybe
ConcurrentModificationException
and cause the checkSyncStateSetTask stop forever.The
connectionCaughtUpTimeTable
always not contain masterBrokerId, it will cause mark synchronizing frequently when shrink syncStateSet.Steps to Reproduce
Use the latest develop branch code, just run in controller mode.
What Did You Expect to See?
No error happen or No shrink if the syncStateSet no change.
What Did You See Instead?
Additional Context
No response
The text was updated successfully, but these errors were encountered: