[skip e2e] Improve log in flush manager (#13689)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2021-12-20 12:22:43 +08:00 committed by GitHub
parent d4afc812d1
commit 2de5cf7762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -674,7 +674,7 @@ func dropVirtualChannelFunc(dsService *dataSyncService, opts ...retry.Option) fl
func flushNotifyFunc(dsService *dataSyncService, opts ...retry.Option) notifyMetaFunc {
return func(pack *segmentFlushPack) {
if pack.err != nil {
log.Warn("flush pack with error, data node quit now")
log.Error("flush pack with error, DataNode quit now", zap.Error(pack.err))
// TODO silverxia change to graceful stop datanode
panic(pack.err)
}