mirror of https://github.com/milvus-io/milvus.git
[skip e2e] Add comment for newPartition (#15110)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/15132/head
parent
67e8c09df5
commit
4174daee80
|
@ -63,6 +63,7 @@ func (p *Partition) removeSegmentID(segmentID UniqueID) {
|
|||
log.Debug("remove a segment from replica", zap.Int64("collectionID", p.collectionID), zap.Int64("partitionID", p.partitionID), zap.Int64("segmentID", segmentID))
|
||||
}
|
||||
|
||||
// newPartition returns a new Partition
|
||||
func newPartition(collectionID UniqueID, partitionID UniqueID) *Partition {
|
||||
var newPartition = &Partition{
|
||||
collectionID: collectionID,
|
||||
|
|
Loading…
Reference in New Issue