[skip ci] Add comment for filterInvalidInsertMessage (#12734)

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

View File

@ -165,6 +165,7 @@ func (fdmNode *filterDmNode) filterInvalidDeleteMessage(msg *msgstream.DeleteMsg
return msg
}
// filterInvalidInsertMessage would filter out invalid insert messages
func (fdmNode *filterDmNode) filterInvalidInsertMessage(msg *msgstream.InsertMsg) *msgstream.InsertMsg {
sp, ctx := trace.StartSpanFromContext(msg.TraceCtx())
msg.SetTraceCtx(ctx)