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

ASF subversion and git services commented on KYLIN-4030:
--------------------------------------------------------

Commit 414e7a18adf3992df2f311c0e3d0de9436ca9587 in kylin's branch 
refs/heads/2.6.x from ZhengshuaiPENG
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=414e7a1 ]

#KYLIN-4030, Resource deleteResource by comparing timestamp may failed to 
delete caused by time precision loose


> ResourceStore deleteResource by comparing timestamp may be failed to delete 
> caused by time precision loose
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-4030
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4030
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: PENG Zhengshuai
>            Assignee: PENG Zhengshuai
>            Priority: Minor
>             Fix For: v2.6.3
>
>
> In ResourceStore, the interface *deleteResourceImpl(String resPath, long 
> timestamp)* maybe failed to delete the resource because the resource 
> timestamp may lose the precision.
> For example, if we use *$KYLIN_HOME/bin/metastore.sh* to backup from 
> metastore to Local OS filesystem, and restore from local filesystem to 
> metastore. The resource timestamp will lose precision in Millis Second.
> An example here: 
> original timestamp: 1559564381
> after precision lost: 1559564000
> The fix design is to tolerate [0-999] ms difference when comparing the 
> timestamp



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to