morningman opened a new pull request, #33674:
URL: https://github.com/apache/doris/pull/33674

   ## Proposed changes
   
   ```
   java.util.ConcurrentModificationException: null
           at 
java.util.TreeMap$ValueSpliterator.forEachRemaining(TreeMap.java:3226) ~[?:?]
           at 
java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
           at 
java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) 
~[?:?]
           at 
java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921) 
~[?:?]
           at 
java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
           at 
java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682) ~[?:?]
           at 
org.apache.doris.statistics.AnalysisManager.findShowAnalyzeResult(AnalysisManager.java:552)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.statistics.AnalysisManager.showAnalysisJob(AnalysisManager.java:533)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.ShowExecutor.handleShowAnalyze(ShowExecutor.java:2772) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.qe.ShowExecutor.execute(ShowExecutor.java:447) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.StmtExecutor.handleShow(StmtExecutor.java:2738) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.StmtExecutor.executeByLegacy(StmtExecutor.java:1010) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:624) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.qe.StmtExecutor.execute(StmtExecutor.java:526) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.executeQuery(ConnectProcessor.java:333) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.ConnectProcessor.handleQuery(ConnectProcessor.java:228) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.MysqlConnectProcessor.handleQuery(MysqlConnectProcessor.java:176)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.MysqlConnectProcessor.dispatch(MysqlConnectProcessor.java:205)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.qe.MysqlConnectProcessor.processOnce(MysqlConnectProcessor.java:258)
 ~[doris-fe.jar:1.2-SNAPSHOT]
           at 
org.apache.doris.mysql.ReadListener.lambda$handleEvent$0(ReadListener.java:52) 
~[doris-fe.jar:1.2-SNAPSHOT]
           at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) 
~[?:?]
           at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) 
~[?:?]
           at java.lang.Thread.run(Thread.java:840) ~[?:?]
   ```
   
   Due to the `Collections.synchronizedNavigableMap`'s java doc:
   
   ```
   In order to guarantee serial access, it is critical that all access to the 
backing navigable map is accomplished through the returned navigable map (or 
its views).
   It is imperative that the user manually synchronize on the returned 
navigable map when traversing any of its collection views, or the collections 
views of any of its subMap, headMap or tailMap views, via Iterator, Spliterator 
or Stream
   ```
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
[[email protected]](mailto:[email protected]) by explaining why you 
chose the solution you did and what alternatives you considered, etc...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to