[ https://issues.apache.org/jira/browse/KYLIN-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16412880#comment-16412880 ]
liyang commented on KYLIN-3311: ------------------------------- Thanks for reporting. I'm not sure of the root cause yet. It seems the first update was actually successfully, but however an IllegalStateException was thrown after that, caused a retry, and caused the same segment being added twice. I guess we need to enhance the code to produce more logs first. Then if the problem re-occurs, we can hunt down the root cause. > Segments overlap error > ---------------------- > > Key: KYLIN-3311 > URL: https://issues.apache.org/jira/browse/KYLIN-3311 > Project: Kylin > Issue Type: Bug > Components: Metadata > Affects Versions: v2.3.0 > Reporter: xujing > Priority: Major > Labels: build > Attachments: Segments_Overlap_ErrorLog.txt > > > when "updateCubeWithRetry" method be called at first time , > line newSegs.validate();was passed . > then > cube = crud.save(cube);seem with error throw exception > write conflict to update cube xxxx at try 0 ,will retry... > while retry "updateCubeWithRetry" start > line newSegs.validate();was not passed . > throw exception > Segments overlap: xxxx[20180318000000_20180319000000] and > sales_order_channel[20180318000000_201803 > 19000000] -- This message was sent by Atlassian JIRA (v7.6.3#76005)