提交 e7998da7 编写于 作者: S sunby 提交者: yefu.chen

Fix bug when starting indexbuilder

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 e05c441f
......@@ -34,6 +34,10 @@ func (pt *ParamTable) Init() {
pt.initEtcdAddress()
pt.initMasterAddress()
pt.initMetaRootPath()
pt.initMinIOAddress()
pt.initMinIOAccessKeyID()
pt.initMinIOSecretAccessKey()
pt.initMinIOUseSSL()
}
func (pt *ParamTable) initAddress() {
......
......@@ -153,6 +153,7 @@ func (scheduler *IndexBuildScheduler) describe() error {
return err
}
log.Printf("build index for segment %d field %d finished", indexBuildInfo.segmentID, indexBuildInfo.fieldID)
break
} else {
// save status to meta table
err = scheduler.metaTable.UpdateFieldIndexMeta(&etcdpb.FieldIndexMeta{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册