You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Xiaqing Wang (JIRA)" <ji...@apache.org> on 2017/08/09 07:09:00 UTC

[jira] [Updated] (KYLIN-2676) Keep UUID in metadata constant

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

Xiaqing Wang updated KYLIN-2676:
--------------------------------
    Fix Version/s: v2.1.0

> Keep UUID in metadata constant 
> -------------------------------
>
>                 Key: KYLIN-2676
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2676
>             Project: Kylin
>          Issue Type: Improvement
>            Reporter: Xiaqing Wang
>            Assignee: Xiaqing Wang
>             Fix For: v2.1.0
>
>
> When users reset or restore the metadata, we should keep the UUID unchanged. Thus we can ensure the UUID as the only identifier of a metadata table. However, those operations that read but not alter metadata should be allowed to copy UUID from metadata. 
> To achieve this, we add the resource filed `/UUID` into the excludes list of copyR and resetR method in ResourceTool.java, which makes operations attending to copy or reset fields skip UUID. But for those read operations, for example, operations relating to backup, we provide a overriding copy method that permit getting UUID from the metastable. 
> Resolved. Please refer to:
> commit 071f3b92caccf56ed70c15147da32a9ef2538bff
> Author: auphyroc99 <45...@qq.com>
> Date:   Thu Jun 22 17:10:58 2017 +0800
>     KYLIN-2676 Allow backup operation copying UUID
> commit b6cdab0eefc81dca79ec8eea0740de566a6cdb7d
> Author: auphyroc99 <45...@qq.com>
> Date:   Thu Jun 22 17:10:58 2017 +0800
>     KYLIN-2676 Allow backup operation copying UUID
> commit 66dc5418ce9860103a67398256ee11a7e428d4a0
> Author: auphyroc99 <45...@qq.com>
> Date:   Fri Jun 16 15:32:33 2017 +0800
>     KYLIN-2676 Add UUID into excludes list
> commit 25861c3732ef5312debada5d7fba111df0ef7694
> Author: auphyroc99 <45...@qq.com>
> Date:   Fri Jun 16 15:32:33 2017 +0800
>     KYLIN-2676 Add UUID into excludes list



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)