[skip ci]Add comment for reloadFromKV in indexcoord (#12875)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-12-08 09:33:41 +08:00 committed by GitHub
parent 02dabbe4b5
commit 65182f0227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,7 @@ func NewMetaTable(kv *etcdkv.EtcdKV) (*metaTable, error) {
return mt, nil
}
// reloadFromKV reloads the index meta from ETCD.
func (mt *metaTable) reloadFromKV() error {
mt.indexBuildID2Meta = make(map[UniqueID]Meta)
key := "indexes"