mirror of https://github.com/milvus-io/milvus.git
Fix num of partitions is wrong (#23780)
Signed-off-by: lixinguo <xinguo.li@zilliz.com> Co-authored-by: lixinguo <xinguo.li@zilliz.com>pull/23774/head
parent
4c773d25a2
commit
9d35a5f943
|
@ -547,9 +547,8 @@ func (mt *MetaTable) ChangePartitionState(ctx context.Context, collectionID Uniq
|
|||
|
||||
switch state {
|
||||
case pb.PartitionState_PartitionCreated:
|
||||
log.Ctx(ctx).Warn("[should not happen] change partition to created",
|
||||
zap.String("collection", coll.Name), zap.Int64("collection id", coll.CollectionID),
|
||||
zap.String("partition", clone.PartitionName), zap.Int64("partition id", clone.PartitionID))
|
||||
// support Dynamic load/release partitions
|
||||
metrics.RootCoordNumOfPartitions.WithLabelValues().Inc()
|
||||
default:
|
||||
metrics.RootCoordNumOfPartitions.WithLabelValues().Dec()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue