mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
doc: [skip-e2e] add comments for task queue (#33388)
Add comments for task queue in internal/proxy/task_scheduler.go. Signed-off-by: ArenaSu <704427617@qq.com>
This commit is contained in:
parent
0d3272ed6d
commit
a59ed65c48
@ -219,6 +219,7 @@ func newBaseTaskQueue(tsoAllocatorIns tsoAllocator) *baseTaskQueue {
|
||||
}
|
||||
}
|
||||
|
||||
// ddTaskQueue represents queue for DDL task such as createCollection/createPartition/dropCollection/dropPartition/hasCollection/hasPartition
|
||||
type ddTaskQueue struct {
|
||||
*baseTaskQueue
|
||||
lock sync.Mutex
|
||||
@ -229,6 +230,7 @@ type pChanStatInfo struct {
|
||||
tsSet map[Timestamp]struct{}
|
||||
}
|
||||
|
||||
// dmTaskQueue represents queue for DML task such as insert/delete/upsert
|
||||
type dmTaskQueue struct {
|
||||
*baseTaskQueue
|
||||
|
||||
@ -351,6 +353,7 @@ func (queue *dmTaskQueue) getPChanStatsInfo() (map[pChan]*pChanStatistics, error
|
||||
return ret, nil
|
||||
}
|
||||
|
||||
// dqTaskQueue represents queue for DQL task such as search/query
|
||||
type dqTaskQueue struct {
|
||||
*baseTaskQueue
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user