mirror of https://github.com/milvus-io/milvus.git
Fix missing totalChannelNum bug (#26295)
Signed-off-by: chasingegg <chao.gao@zilliz.com>pull/26304/head
parent
48422dd4c5
commit
9ca8f28005
|
@ -821,6 +821,7 @@ func (node *QueryNode) Search(ctx context.Context, req *querypb.SearchRequest) (
|
|||
SegmentIDs: req.SegmentIDs,
|
||||
FromShardLeader: req.FromShardLeader,
|
||||
Scope: req.Scope,
|
||||
TotalChannelNum: req.TotalChannelNum,
|
||||
}
|
||||
|
||||
runningGp.Go(func() error {
|
||||
|
|
|
@ -1091,6 +1091,7 @@ func (suite *ServiceSuite) TestSearch_Normal() {
|
|||
Req: creq,
|
||||
FromShardLeader: false,
|
||||
DmlChannels: []string{suite.vchannel},
|
||||
TotalChannelNum: 2,
|
||||
}
|
||||
suite.NoError(err)
|
||||
|
||||
|
@ -1117,6 +1118,7 @@ func (suite *ServiceSuite) TestSearch_Concurrent() {
|
|||
Req: creq,
|
||||
FromShardLeader: false,
|
||||
DmlChannels: []string{suite.vchannel},
|
||||
TotalChannelNum: 2,
|
||||
}
|
||||
suite.NoError(err)
|
||||
return suite.node.Search(ctx, req)
|
||||
|
@ -1142,6 +1144,7 @@ func (suite *ServiceSuite) TestSearch_Failed() {
|
|||
Req: creq,
|
||||
FromShardLeader: false,
|
||||
DmlChannels: []string{suite.vchannel},
|
||||
TotalChannelNum: 2,
|
||||
}
|
||||
suite.NoError(err)
|
||||
|
||||
|
@ -1201,6 +1204,7 @@ func (suite *ServiceSuite) TestSearchSegments_Normal() {
|
|||
Req: creq,
|
||||
FromShardLeader: true,
|
||||
DmlChannels: []string{suite.vchannel},
|
||||
TotalChannelNum: 2,
|
||||
}
|
||||
suite.NoError(err)
|
||||
|
||||
|
|
Loading…
Reference in New Issue