[skip ci] Add comment for historical close (#13373)

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
This commit is contained in:
bigsheeper 2021-12-14 21:55:06 +08:00 committed by GitHub
parent 05473b6f8a
commit dbaca0a8c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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