wu-sheng commented on code in PR #10128:
URL: https://github.com/apache/skywalking/pull/10128#discussion_r1045088460


##########
oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBIndexInstaller.java:
##########
@@ -60,9 +61,9 @@ public boolean isExists(Model model) throws StorageException {
             // then check entity schema
             if (metadata.findRemoteSchema(c).isPresent()) {
                 // register models only locally but not remotely
-                if (model.isTimeSeries() && model.isRecord()) { // stream
+                if (model.isRecord()) { // stream
                     MetadataRegistry.INSTANCE.registerStreamModel(model, 
config, configService);
-                } else if (model.isTimeSeries() && !model.isRecord()) { // 
measure

Review Comment:
   I don't think we should register UI_TEMPLATE as a measure, right?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to