Fix DataNode processes event out of order (#17440)

The probability is low so very unlikly to reproduce

See also: #15966

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/17447/head
XuanYang-cn 2022-06-08 17:24:07 +08:00 committed by GitHub
parent a0854210b7
commit 4f66bcbb22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -259,7 +259,8 @@ func (node *DataNode) StartWatchChannels(ctx context.Context) {
return
}
for _, evt := range event.Events {
go node.handleChannelEvt(evt)
// We need to stay in order until events enqueued
node.handleChannelEvt(evt)
}
}
}