[skip ci] Add comment for filterInvalidDeleteMessage (#12733)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
pull/12735/head
bigsheeper 2021-12-03 20:37:38 +08:00 committed by GitHub
parent a34b1a3e08
commit 2a98ce272e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ func (fdmNode *filterDmNode) Operate(in []flowgraph.Msg) []flowgraph.Msg {
return []Msg{res}
}
// filterInvalidDeleteMessage would filter out invalid delete messages
func (fdmNode *filterDmNode) filterInvalidDeleteMessage(msg *msgstream.DeleteMsg) *msgstream.DeleteMsg {
sp, ctx := trace.StartSpanFromContext(msg.TraceCtx())
msg.SetTraceCtx(ctx)