You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Jiale He (Jira)" <ji...@apache.org> on 2022/12/01 09:23:00 UTC

[jira] [Created] (KYLIN-5320) After the model is deleted, an abnormal error occurs when querying historical statistics

Jiale He created KYLIN-5320:
-------------------------------

             Summary: After the model is deleted, an abnormal error occurs when querying historical statistics
                 Key: KYLIN-5320
                 URL: https://issues.apache.org/jira/browse/KYLIN-5320
             Project: Kylin
          Issue Type: Bug
          Components: Others
            Reporter: Jiale He
             Fix For: 5.0-alpha


h1. 复现步骤:

当查询击中模型后,然后删除模型,

查询历史统计信息的定时器在更新模型击中信息元数据时,会捞取查询历史,

此时会获取被删除模型的查询历史,然后再事务更新的时候,漏判断了是否模型被删除,

这样会导致事务更新失败。

由于一直更新失败,所以查询历史的 offset 也一直没有更新,最终在页面上就显示模型击中次数,索引击中次数一致没变。

 
h1. Root Cause & Dev Design

在更新 dataflow 的最新更新时间时,需要确认 dataflow 是否存在,如果不存在,则跳过。



--
This message was sent by Atlassian Jira
(v8.20.10#820010)