Skip to content

Commit

Permalink
fix(pd): partition IDs always empty in Shards List (apache#2596)
Browse files Browse the repository at this point in the history
  • Loading branch information
haohao0103 authored Jul 22, 2024
1 parent edb59eb commit 86e1003
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 86e1003

Please sign in to comment.