[ 
https://issues.apache.org/jira/browse/KYLIN-1894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yerui Sun updated KYLIN-1894:
-----------------------------
    Attachment: KYLIN-1894.3.patch

[~Shaofengshi], sorry for my mistake, I missed one test before post the patch.

The new patch is attached, based on the previous one. The tmp files also been 
cleaned as your guide line.
Thanks for your reviewing again~

> GlobalDictionary may corrupt when server suddenly crash
> -------------------------------------------------------
>
>                 Key: KYLIN-1894
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1894
>             Project: Kylin
>          Issue Type: Improvement
>          Components: Metadata
>    Affects Versions: v1.5.3
>            Reporter: Yerui Sun
>            Assignee: Yerui Sun
>             Fix For: v1.5.3
>
>         Attachments: KYLIN-1894.2.patch, KYLIN-1894.3.patch
>
>
> Global Dictionary store data on hdfs directly, and overwrite directly when 
> data file updated. If the server crashed suddenly during writing file, the 
> data file may be corrupt and can't be recovered.
> To resolve this problem, copy the data file into a tmp directory and copy 
> back after the file is updated successfully. 
> I'll post a patch later with this solution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to