From 4d5ba126deb84c4b9830f095ef993c59237b34d3 Mon Sep 17 00:00:00 2001 From: "alan578.zhao" <956322745@qq.com> Date: Fri, 19 Jul 2024 18:03:01 +0800 Subject: [PATCH] close #2595 --- .../src/main/java/org/apache/hugegraph/pd/rest/PartitionAPI.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hugegraph-pd/hg-pd-service/src/main/java/org/apache/hugegraph/pd/rest/PartitionAPI.java b/hugegraph-pd/hg-pd-service/src/main/java/org/apache/hugegraph/pd/rest/PartitionAPI.java index 14576a4f5e..5fd10cf790 100644 --- a/hugegraph-pd/hg-pd-service/src/main/java/org/apache/hugegraph/pd/rest/PartitionAPI.java +++ b/hugegraph-pd/hg-pd-service/src/main/java/org/apache/hugegraph/pd/rest/PartitionAPI.java @@ -236,6 +236,7 @@ public RestApiResponse getPartitions() { role = shard.getRole(); address = pdRestService.getStore( shard.getStoreId()).getAddress(); + partitionId = partition.getId(); if (finalShardStats.containsKey(shard.getStoreId())) { state = finalShardStats.get(shard.getStoreId()).getState().toString(); progress = finalShardStats.get(shard.getStoreId()).getProgress();