mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for saveIndexMeta in indexcoord (#12874)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/12930/head
parent
fbba24891c
commit
02dabbe4b5
|
@ -90,6 +90,7 @@ func (mt *metaTable) reloadFromKV() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// saveIndexMeta saves the index meta to ETCD.
|
||||
// metaTable.lock.Lock() before call this function
|
||||
func (mt *metaTable) saveIndexMeta(meta *Meta) error {
|
||||
value, err := proto.Marshal(meta.indexMeta)
|
||||
|
|
Loading…
Reference in New Issue