You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ha...@apache.org on 2022/11/16 06:39:36 UTC

[skywalking] 01/01: Ignore "ui_template" on checking whether a table exists

This is an automated email from the ASF dual-hosted git repository.

hanahmily pushed a commit to branch banyandb
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 21abc42db81f7b08f836b0c575a4fc0fab8f89c1
Author: Gao Hongtao <ha...@gmail.com>
AuthorDate: Wed Nov 16 06:37:06 2022 +0000

    Ignore "ui_template" on checking whether a table exists
    
    Signed-off-by: Gao Hongtao <ha...@gmail.com>
---
 .../oap/server/storage/plugin/banyandb/BanyanDBIndexInstaller.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBIndexInstaller.java b/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBIndexInstaller.java
index 7a16eab863..c4289743ee 100644
--- a/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBIndexInstaller.java
+++ b/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBIndexInstaller.java
@@ -44,6 +44,9 @@ public class BanyanDBIndexInstaller extends ModelInstaller {
 
     @Override
     public boolean isExists(Model model) throws StorageException {
+        if (!model.isTimeSeries()) { // UITemplate
+            return true;
+        }
         final ConfigService configService = moduleManager.find(CoreModule.NAME).provider().getService(ConfigService.class);
         final MetadataRegistry.SchemaMetadata metadata = MetadataRegistry.INSTANCE.parseMetadata(model, config, configService);
         try {