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 }