Skip to content

Commit

Permalink
Fix DataNode processes event out of order (milvus-io#17440)
Browse files Browse the repository at this point in the history
The probability is low so very unlikly to reproduce

See also: milvus-io#15966

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
  • Loading branch information
XuanYang-cn authored Jun 8, 2022
1 parent a085421 commit 4f66bcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/datanode/data_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit 4f66bcb

Please sign in to comment.