From c84600a4963b4487e0a99293fae063fb350c911f Mon Sep 17 00:00:00 2001 From: xige-16 Date: Wed, 13 Oct 2021 21:24:41 +0800 Subject: [PATCH] [skip ci] Add comment for set taskID (#9835) Signed-off-by: xige-16 --- internal/querycoord/task.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querycoord/task.go b/internal/querycoord/task.go index d755992ecc..4eb59bf0f7 100644 --- a/internal/querycoord/task.go +++ b/internal/querycoord/task.go @@ -125,6 +125,7 @@ func (bt *BaseTask) ID() UniqueID { return bt.taskID } +// SetID function sets the trigger task with a unique id, which is allocated by tso func (bt *BaseTask) SetID(id UniqueID) { bt.taskID = id }