[skip e2e]Add comment for checkIndexMeta (#14842)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/14845/head
cai.zhang 2022-01-05 13:05:25 +08:00 committed by GitHub
parent 5efb234f41
commit 47b89ba84a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -138,6 +138,7 @@ func (it *IndexBuildTask) OnEnqueue() error {
return nil
}
// checkIndexMeta load meta from etcd to determine whether the task should continue execution.
func (it *IndexBuildTask) checkIndexMeta(ctx context.Context, pre bool) error {
fn := func() error {
//TODO error handling need to be optimized, return Unrecoverable to avoid retry