mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for set child task (#9837)
Signed-off-by: xige-16 <xi.ge@zilliz.com>pull/9770/head
parent
c84600a496
commit
e481a2775a
|
@ -150,6 +150,8 @@ func (bt *BaseTask) GetParentTask() task {
|
|||
return bt.parentTask
|
||||
}
|
||||
|
||||
// GetChildTask function returns all the child tasks of the trigger task
|
||||
// Child task may be loadSegmentTask, watchDmChannelTask or watchQueryChannelTask
|
||||
func (bt *BaseTask) GetChildTask() []task {
|
||||
bt.childTasksMu.RLock()
|
||||
defer bt.childTasksMu.RUnlock()
|
||||
|
|
Loading…
Reference in New Issue