From dbaca0a8c72b5c4c1cb884d8c8e44dfa3b310dfe Mon Sep 17 00:00:00 2001 From: bigsheeper Date: Tue, 14 Dec 2021 21:55:06 +0800 Subject: [PATCH] [skip ci] Add comment for historical close (#13373) Signed-off-by: bigsheeper --- internal/querynode/historical.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/querynode/historical.go b/internal/querynode/historical.go index 419c736408..7c5bb84829 100644 --- a/internal/querynode/historical.go +++ b/internal/querynode/historical.go @@ -68,6 +68,7 @@ func (h *historical) start() { go h.watchGlobalSegmentMeta() } +// close would release all resources in historical func (h *historical) close() { // free collectionReplica h.replica.freeAll()