Handle trigger compaction error (#13636)

Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
pull/15029/head
godchen 2022-01-07 17:41:40 +08:00 committed by GitHub
parent fc256e7924
commit f2baa987fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -143,7 +143,10 @@ func (t *compactionTrigger) startGlobalCompactionLoop() {
continue
}
cancel()
t.triggerCompaction(tt)
err = t.triggerCompaction(tt)
if err != nil {
log.Warn("unable to triggerCompaction", zap.Error(err))
}
}
}
}