mirror of https://github.com/milvus-io/milvus.git
Add data sync service error check (#9498)
Signed-off-by: godchen <qingxiang.chen@zilliz.com>pull/9562/head
parent
014467fc5a
commit
376be1b532
|
@ -213,8 +213,11 @@ func (dsService *dataSyncService) initNodes(vchanInfo *datapb.VchannelInfo) erro
|
|||
zap.Int64("NumOfRows", us.GetNumOfRows()),
|
||||
)
|
||||
|
||||
dsService.replica.addNormalSegment(us.GetID(), us.CollectionID, us.PartitionID, us.GetInsertChannel(),
|
||||
err = dsService.replica.addNormalSegment(us.GetID(), us.CollectionID, us.PartitionID, us.GetInsertChannel(),
|
||||
us.GetNumOfRows(), &segmentCheckPoint{us.GetNumOfRows(), *us.GetDmlPosition()})
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
for _, fs := range vchanInfo.GetFlushedSegments() {
|
||||
|
|
Loading…
Reference in New Issue