[ 
https://issues.apache.org/jira/browse/KYLIN-5690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17755454#comment-17755454
 ] 

Yaguang Jia commented on KYLIN-5690:
------------------------------------

Dev Design

Move the logic of checking offset Id to after Kylin starts.
Initialize execution, loop check items belonging to this node epoch.
Because the metadata may need to be updated after checking the offset Id, the 
first epoch check is changed to synchronization to ensure that the epoch has 
been updated and available when the offset Id check is performed.
----
Dev Design

将检查{{{}offsetId{}}}逻辑移到Kylin启动后。

初始化执行,循环检查属于本节点epoch的项目。

因为检查{{{}offsetId{}}}后,可能需要更新元数据,故将第一次epoch检查改为同步,确保执行{{{}offsetId{}}}检查时,epoch已更新可用。

> Optimize the Kylin read metadata for maxId
> ------------------------------------------
>
>                 Key: KYLIN-5690
>                 URL: https://issues.apache.org/jira/browse/KYLIN-5690
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Metadata
>    Affects Versions: 5.0-alpha
>            Reporter: Yaguang Jia
>            Assignee: Yaguang Jia
>            Priority: Critical
>             Fix For: 5.0-beta
>
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to