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();