mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
Check error in segment_manager.go (#8705)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
e5bc8e7050
commit
745221e87d
@ -327,8 +327,7 @@ func (s *SegmentManager) openNewSegment(ctx context.Context, collectionID Unique
|
|||||||
zap.Int("Rows", maxNumOfRows),
|
zap.Int("Rows", maxNumOfRows),
|
||||||
zap.String("Channel", segmentInfo.InsertChannel))
|
zap.String("Channel", segmentInfo.InsertChannel))
|
||||||
|
|
||||||
s.helper.afterCreateSegment(segmentInfo)
|
return segment, s.helper.afterCreateSegment(segmentInfo)
|
||||||
return segment, nil
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *SegmentManager) estimateMaxNumOfRows(collectionID UniqueID) (int, error) {
|
func (s *SegmentManager) estimateMaxNumOfRows(collectionID UniqueID) (int, error) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user