[skip ci]Add comment for GetNodeTaskStats (#13342)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/13353/head
cai.zhang 2021-12-14 16:37:58 +08:00 committed by GitHub
parent 5ba77d8f36
commit 259a728a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -514,6 +514,7 @@ func (mt *metaTable) LoadMetaFromETCD(indexBuildID int64, revision int64) bool {
return true
}
// GetNodeTaskStats get task stats of IndexNode.
func (mt *metaTable) GetNodeTaskStats() map[UniqueID]int {
mt.lock.RLock()
defer mt.lock.RUnlock()