mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 10:08:42 +08:00
[skip ci] Add comment for set child task (#9837)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
c84600a496
commit
e481a2775a
@ -150,6 +150,8 @@ func (bt *BaseTask) GetParentTask() task {
|
|||||||
return bt.parentTask
|
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 {
|
func (bt *BaseTask) GetChildTask() []task {
|
||||||
bt.childTasksMu.RLock()
|
bt.childTasksMu.RLock()
|
||||||
defer bt.childTasksMu.RUnlock()
|
defer bt.childTasksMu.RUnlock()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user