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

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


The following commit(s) were added to refs/heads/master by this push:
     new dc33a6e80a Fix missing limit in UI template query (#12980)
dc33a6e80a is described below

commit dc33a6e80afab4e6727e84c940c9d999b91ab0ce
Author: 吴晟 Wu Sheng <[email protected]>
AuthorDate: Thu Jan 16 14:00:54 2025 +0800

    Fix missing limit in UI template query (#12980)
---
 .../server/storage/plugin/banyandb/BanyanDBStorageClient.java  | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git 
a/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBStorageClient.java
 
b/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBStorageClient.java
index b2b0a647fd..07c11f24a6 100644
--- 
a/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBStorageClient.java
+++ 
b/oap-server/server-storage-plugin/storage-banyandb-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/banyandb/BanyanDBStorageClient.java
@@ -125,10 +125,12 @@ public class BanyanDBStorageClient implements Client, 
HealthCheckable {
 
     public List<Property> listProperties(String group, String name) throws 
IOException {
         try {
-            BanyandbProperty.QueryResponse resp = 
this.client.query(BanyandbProperty.QueryRequest.newBuilder()
-                                                                               
                  .addGroups(group)
-                                                                               
                  .setContainer(name)
-                                                                               
                  .build());
+            BanyandbProperty.QueryResponse resp
+                = this.client.query(BanyandbProperty.QueryRequest.newBuilder()
+                                                                 
.addGroups(group)
+                                                                 
.setContainer(name)
+                                                                 
.setLimit(Integer.MAX_VALUE)
+                                                                 .build());
             this.healthChecker.health();
             return resp.getPropertiesList();
         } catch (BanyanDBException ex) {

Reply via email to