[skip ci] Add comments for Init (#11193)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/11201/head
xige-16 2021-11-03 23:15:16 +08:00 committed by GitHub
parent 48fb8174fa
commit 7ea6b773e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ func (node *QueryNode) InitSegcore() {
C.free(unsafe.Pointer(cSimdType))
}
// Init function init historical and streaming module to manage segments
func (node *QueryNode) Init() error {
var initError error = nil
node.initOnce.Do(func() {