From 12dcbe3d784d9f14011672d499b9bde3d7ea2407 Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Tue, 5 Oct 2021 22:44:00 +0800 Subject: [PATCH] [skip ci] Add comment for setLoadType (#9299) Signed-off-by: bigsheeper --- internal/querynode/collection.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querynode/collection.go b/internal/querynode/collection.go index 3b267746cf..9db3793940 100644 --- a/internal/querynode/collection.go +++ b/internal/querynode/collection.go @@ -190,6 +190,7 @@ func (c *Collection) checkReleasedPartitions(partitionIDs []UniqueID) error { return nil } +// setLoadType set the loading type of collection, which is loadTypeCollection or loadTypePartition func (c *Collection) setLoadType(l loadType) { c.loadType = l }