[
https://issues.apache.org/jira/browse/KYLIN-3977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825626#comment-16825626
]
PENG Zhengshuai commented on KYLIN-3977:
----------------------------------------
1.add ResourceStore.delete(respath, timestamp) interface & impl
2.add ResourceStore.updateTimestamp(respath, timestamp) interface & impl
3.update resource timestamp when reusing dict/snapshot
4.Retry avaibility build process of dict & snapshot
5.refactor metadata cleanup by using delete with timestamp interface
> Aviod mistaken deleting dicts by storage cleanup while building jobs are
> running
> --------------------------------------------------------------------------------
>
> Key: KYLIN-3977
> URL: https://issues.apache.org/jira/browse/KYLIN-3977
> Project: Kylin
> Issue Type: Improvement
> Components: Metadata
> Reporter: PENG Zhengshuai
> Assignee: PENG Zhengshuai
> Priority: Major
>
> When there are cube building jobs running, storage cleanup may delete some
> dictionaries which the cubes are not referenced to. But the in build jobs,
> those dictionaries may be reused.
> If these reused dictionaries have been deleted by storage cleanup, the build
> job will be failed
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)