Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-5863

Concurrent model deletions cause abnormal query result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0-alpha
    • 5.0.0
    • Modeling, Query Engine
    • None

    Description

      Concurrent model deletions will throw NPE by the API /kylin/api/tables/project_tables.

      4fa383f6-6231-85af-227a-62580883c72f /kylin/api/tables/project_tables This request comes in and fetches the list of models once, which contains the AUTO _ MODEL_V_PDR_F_CUST_ in the second red box. BAL_SUM_1C253CDC6D0145DE907A8B47DF592DC6_84, when the request /project_tables execution to the third red box of the getStorageSize method, and at this time the model has been deleted, but previously obtained the model list contains the model, so at this time the data is null. The data retrieved is null, and a null popup appears on the interface.

      Attachments

        1. 42536.1.png
          538 kB
          Pengfei Zhan
        2. 42536.2.png
          187 kB
          Pengfei Zhan

        Activity

          People

            pfzhan Pengfei Zhan
            pfzhan Pengfei Zhan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: