Uh oh!
There was an error while loading. Please reload this page.
[Fix](partition) fix concurrent visit of partition items - #59848
Merged
zclllyybb merged 1 commit intoJan 14, 2026
Conversation
Thearas
commented
Jan 13, 2026
Contributor
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
zclllyybb
commented
Jan 13, 2026
ContributorAuthor
run buildall |
doris-robot
commented
Jan 13, 2026
TPC-H: Total hot run time: 31300 ms |
doris-robot
commented
Jan 13, 2026
TPC-DS: Total hot run time: 172710 ms |
hello-stephen
commented
Jan 13, 2026
Contributor
FE Regression Coverage ReportIncrement line coverage |
Contributor
PR approved by at least one committer and no changes requested. |
Contributor
PR approved by anyone and no changes requested. |
Uh oh!
There was an error while loading. Please reload this page.
hello-stephen
commented
Jan 14, 2026
Contributor
FE Regression Coverage ReportIncrement line coverage |
Uh oh!
There was an error while loading. Please reload this page.
github-actionsBot
pushed a commit
that referenced
this pull request
Jan 14, 2026
Related PR: introduced by #56921 Problem Summary: fix concurrency bug when dynamic partition visit partition items at the same time with modifying partitions: ```java 2026-01-12 15:31:46,108 ERROR (thrift-server-pool-31|451) [ProcessFunction.process():47] Internal error processing createPartition java.lang.reflect.UndeclaredThrowableException at jdk.proxy2/jdk.proxy2.$Proxy27.createPartition(Unknown Source) at org.apache.doris.thrift.FrontendService$Processor$createPartition.getResult(FrontendService.java:4993) at org.apache.doris.thrift.FrontendService$Processor$createPartition.getResult(FrontendService.java:4973) at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38) at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38) at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:250) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: java.lang.reflect.InvocationTargetException at jdk.internal.reflect.GeneratedMethodAccessor27.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.apache.doris.service.FeServer.lambda$start$0(FeServer.java:60) ... 9 more Caused by: java.util.ConcurrentModificationException at java.base/java.util.HashMap$HashIterator.nextNode(HashMap.java:1597) at java.base/java.util.HashMap$EntryIterator.next(HashMap.java:1630) at java.base/java.util.HashMap$EntryIterator.next(HashMap.java:1628) at java.base/java.util.AbstractCollection.toArray(AbstractCollection.java:146) at java.base/java.util.ArrayList.<init>(ArrayList.java:181) at org.apache.doris.clone.DynamicPartitionScheduler.getHistoricalPartitions(DynamicPartitionScheduler.java:209) at org.apache.doris.common.util.AutoBucketCalculator.calculateAutoBuckets(AutoBucketCalculator.java:142) at org.apache.doris.common.util.AutoBucketCalculator.calculateAutoBucketsWithBoundsCheck(AutoBucketCalculator.java:190) at org.apache.doris.analysis.PartitionExprUtil.getAddPartitionClauseFromPartitionValues(PartitionExprUtil.java:202) at org.apache.doris.service.FrontendServiceImpl.createPartition(FrontendServiceImpl.java:3622) ... 13 more ``` all these visit operations should under table's lock.
yiguolei pushed a commit
that referenced
this pull request
Jan 15, 2026
ybtsdst pushed a commit
to ybtsdst/doris
that referenced
this pull request
Feb 27, 2026
…pache#59848 (apache#59891) Cherry-picked from apache#59848 Co-authored-by: zclllyybb <zhaochangle@selectdb.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What problem does this PR solve?
Issue Number: close #xxx
Related PR: introduced by #56921
Problem Summary:
fix concurrency bug when dynamic partition visit partition items at the same time with modifying partitions:
all these visit operations should under table's lock.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)