mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
Add more specific comment in datanode (#9488)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
This commit is contained in:
parent
97a6bde82a
commit
30395cb1b1
1
.gitignore
vendored
1
.gitignore
vendored
@ -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…
x
Reference in New Issue
Block a user