mirror of https://github.com/milvus-io/milvus.git
Increase FlushChannel retry times (#27140)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/27153/head
parent
895b94ab6b
commit
c162c6a4c8
|
@ -138,7 +138,7 @@ func (s *Server) Flush(ctx context.Context, req *datapb.FlushRequest) (*datapb.F
|
|||
}
|
||||
}
|
||||
return nil
|
||||
})
|
||||
}, retry.Attempts(20)) // about 60s
|
||||
if err != nil {
|
||||
resp.Status = merr.Status(err)
|
||||
return resp, nil
|
||||
|
|
|
@ -523,7 +523,7 @@ func (node *DataNode) Import(ctx context.Context, req *datapb.ImportTaskRequest)
|
|||
func (node *DataNode) FlushChannels(ctx context.Context, req *datapb.FlushChannelsRequest) (*commonpb.Status, error) {
|
||||
log := log.Ctx(ctx).With(zap.Int64("nodeId", paramtable.GetNodeID()),
|
||||
zap.Time("flushTs", tsoutil.PhysicalTime(req.GetFlushTs())),
|
||||
zap.Int("len(channels)", len(req.GetChannels())))
|
||||
zap.Strings("channels", req.GetChannels()))
|
||||
|
||||
log.Info("DataNode receives FlushChannels request")
|
||||
|
||||
|
|
Loading…
Reference in New Issue