mirror of https://github.com/milvus-io/milvus.git
Add more specific comment in datanode (#9488)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>pull/9509/head
parent
97a6bde82a
commit
30395cb1b1
|
@ -72,6 +72,7 @@ gtags.conf
|
|||
*coverage.txt
|
||||
profile.out
|
||||
*coverage.html
|
||||
cover.out
|
||||
|
||||
# codecov-cpp generated files
|
||||
lcov_*.info
|
||||
|
|
|
@ -415,6 +415,7 @@ func (node *DataNode) WatchDmChannels(ctx context.Context, in *datapb.WatchDmCha
|
|||
default:
|
||||
for _, chanInfo := range in.GetVchannels() {
|
||||
log.Info("DataNode new dataSyncService",
|
||||
zap.Int64("collectionID", chanInfo.GetCollectionID()),
|
||||
zap.String("channel name", chanInfo.ChannelName),
|
||||
zap.Any("channal Info", chanInfo),
|
||||
)
|
||||
|
@ -422,7 +423,9 @@ func (node *DataNode) WatchDmChannels(ctx context.Context, in *datapb.WatchDmCha
|
|||
log.Warn("Failed to new data sync service",
|
||||
zap.Any("channel", chanInfo),
|
||||
zap.Error(err))
|
||||
|
||||
// return error even partial success
|
||||
// TODO Goose: release partial success resources?
|
||||
status.Reason = err.Error()
|
||||
return status, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue