mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
remove unused code. (#23572)
Signed-off-by: LeoReeYang <LeoReeYang@outlook.com>
This commit is contained in:
parent
935d79c969
commit
a2ab94ec3d
@ -80,7 +80,7 @@ func (node *QueryNode) loadDeltaLogs(ctx context.Context, req *querypb.LoadSegme
|
||||
log := log.Ctx(ctx).With(
|
||||
zap.Int64("collectionID", req.GetCollectionID()),
|
||||
)
|
||||
loadedSegments := make([]int64, 0, len(req.GetInfos()))
|
||||
|
||||
var finalErr error
|
||||
for _, info := range req.GetInfos() {
|
||||
segment := node.manager.Segment.GetSealed(info.GetSegmentID())
|
||||
@ -96,8 +96,6 @@ func (node *QueryNode) loadDeltaLogs(ctx context.Context, req *querypb.LoadSegme
|
||||
}
|
||||
continue
|
||||
}
|
||||
|
||||
loadedSegments = append(loadedSegments, info.GetSegmentID())
|
||||
}
|
||||
|
||||
if finalErr != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user