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()