mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
[skip e2e] Add comment for newPartition (#15110)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
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
Block a user