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

ASF GitHub Bot commented on KYLIN-4030:
---------------------------------------

ZhengshuaiPENG commented on pull request #673: #KYLIN-4030, Resource 
deleteResource by comparing timestamp may faile…
URL: https://github.com/apache/kylin/pull/673
 
 
   …d to delete caused by time precision loose
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


> Resource deleteResource by comparing timestamp may 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
>
> 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



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

Reply via email to