[
https://issues.apache.org/jira/browse/KYLIN-2986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16285453#comment-16285453
]
Zhong Yanghong edited comment on KYLIN-2986 at 12/11/17 2:56 AM:
-----------------------------------------------------------------
There're two issues.
# One is related to JIRA [KYLIN-3022 |
https://issues.apache.org/jira/browse/KYLIN-3022], we shouldn't change the
memory state of cube segment until the data is updated to database. Otherwise
when the concurrent issue happens, the state failed to update will lead to
[~yanghaogn]'s issue
# Another issue may relate to the concurrent issue among
{{calculateToBeSegments}} and {{updateCube}}. Current solution is to add a lock
for this block.
was (Author: yaho):
There're two issues.
# One is related to JIRA [KYLIN-3022 |
https://issues.apache.org/jira/browse/KYLIN-3022], we shouldn't change the
memory state of cube segment until the data is updated to database. Otherwise
when the concurrent issue happens, the state failed to update will lead to
[~yanghaogn]'s issue
> Segments overlap issue may happen when concurrent merge or build
> ----------------------------------------------------------------
>
> Key: KYLIN-2986
> URL: https://issues.apache.org/jira/browse/KYLIN-2986
> Project: Kylin
> Issue Type: Bug
> Reporter: Zhong Yanghong
> Assignee: Zhong Yanghong
> Priority: Trivial
> Labels: scope
> Attachments: APACHE-KYLIN-2986.patch, screenshot-1.png
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)