[
https://issues.apache.org/jira/browse/KYLIN-2676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xiaqing Wang updated KYLIN-2676:
--------------------------------
Description:
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.
was:When users reset or restore the metadata, we should keep the UUID
unchanged.
> 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
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)