forked from hugegraph/hugegraph-sync
fix(pd): partition IDs always empty in Shards List (#2596)
This commit is contained in:
parent
edb59ebaeb
commit
86e1003c16
|
|
@ -236,6 +236,7 @@ public class PartitionAPI extends API {
|
|||
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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue