mirror of https://github.com/milvus-io/milvus.git
Add error description (#27959)
Signed-off-by: lixinguo <xinguo.li@zilliz.com> Co-authored-by: lixinguo <xinguo.li@zilliz.com>pull/27983/head
parent
6b1a106a31
commit
403c6680cc
|
@ -537,7 +537,8 @@ func (node *DataNode) FlushChannels(ctx context.Context, req *datapb.FlushChanne
|
|||
for _, channel := range req.GetChannels() {
|
||||
fg, ok := node.flowgraphManager.getFlowgraphService(channel)
|
||||
if !ok {
|
||||
return merr.Status(merr.WrapErrChannelNotFound(channel)), nil
|
||||
msg := "may channel has not watched yet"
|
||||
return merr.Status(merr.WrapErrChannelNotFound(channel, msg)), nil
|
||||
}
|
||||
fg.channel.setFlushTs(req.GetFlushTs())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue