-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](cloud) Fix ConcurrentModificationException in cloud rebalance
#52013
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
Conversation
```
2025-06-19 15:58:44,191 ERROR (cloud tablet rebalancer|277) [Daemon.run():121] daemon thread got exception. name: cloud tablet rebalancer
java.util.ConcurrentModificationException: null
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1597) ~[?:?]
at java.util.HashMap$KeyIterator.next(HashMap.java:1620) ~[?:?]
at org.apache.doris.cloud.catalog.CloudTabletRebalancer.checkInflghtWarmUpCacheAsync(CloudTabletRebalancer.java:421) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.cloud.catalog.CloudTabletRebalancer.runAfterCatalogReady(CloudTabletRebalancer.java:257) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.common.util.MasterDaemon.runOneCycle(MasterDaemon.java:58) ~[doris-fe.jar:1.2-SNAPSHOT]
at org.apache.doris.common.util.Daemon.run(Daemon.java:119) ~[doris-fe.jar:1.2-SNAPSHOT]
```
|
run buildall |
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
|
run feut |
FE UT Coverage ReportIncrement line coverage |
dataroaring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…#52013) ``` 2025-06-19 15:58:44,191 ERROR (cloud tablet rebalancer|277) [Daemon.run():121] daemon thread got exception. name: cloud tablet rebalancer java.util.ConcurrentModificationException: null at java.util.HashMap$HashIterator.nextNode(HashMap.java:1597) ~[?:?] at java.util.HashMap$KeyIterator.next(HashMap.java:1620) ~[?:?] at org.apache.doris.cloud.catalog.CloudTabletRebalancer.checkInflghtWarmUpCacheAsync(CloudTabletRebalancer.java:421) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.cloud.catalog.CloudTabletRebalancer.runAfterCatalogReady(CloudTabletRebalancer.java:257) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.MasterDaemon.runOneCycle(MasterDaemon.java:58) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.Daemon.run(Daemon.java:119) ~[doris-fe.jar:1.2-SNAPSHOT] ```
…#52013) ``` 2025-06-19 15:58:44,191 ERROR (cloud tablet rebalancer|277) [Daemon.run():121] daemon thread got exception. name: cloud tablet rebalancer java.util.ConcurrentModificationException: null at java.util.HashMap$HashIterator.nextNode(HashMap.java:1597) ~[?:?] at java.util.HashMap$KeyIterator.next(HashMap.java:1620) ~[?:?] at org.apache.doris.cloud.catalog.CloudTabletRebalancer.checkInflghtWarmUpCacheAsync(CloudTabletRebalancer.java:421) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.cloud.catalog.CloudTabletRebalancer.runAfterCatalogReady(CloudTabletRebalancer.java:257) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.MasterDaemon.runOneCycle(MasterDaemon.java:58) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.Daemon.run(Daemon.java:119) ~[doris-fe.jar:1.2-SNAPSHOT] ```
…ud rebalance apache#52013 (apache#52309) Cherry-picked from apache#52013 Co-authored-by: deardeng <dengxin@selectdb.com>
apache#4141) … (apache#52013) ``` 2025-06-19 15:58:44,191 ERROR (cloud tablet rebalancer|277) [Daemon.run():121] daemon thread got exception. name: cloud tablet rebalancer java.util.ConcurrentModificationException: null at java.util.HashMap$HashIterator.nextNode(HashMap.java:1597) ~[?:?] at java.util.HashMap$KeyIterator.next(HashMap.java:1620) ~[?:?] at org.apache.doris.cloud.catalog.CloudTabletRebalancer.checkInflghtWarmUpCacheAsync(CloudTabletRebalancer.java:421) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.cloud.catalog.CloudTabletRebalancer.runAfterCatalogReady(CloudTabletRebalancer.java:257) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.MasterDaemon.runOneCycle(MasterDaemon.java:58) ~[doris-fe.jar:1.2-SNAPSHOT] at org.apache.doris.common.util.Daemon.run(Daemon.java:119) ~[doris-fe.jar:1.2-SNAPSHOT] ```
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)