未验证 提交 d6f7fbf1 编写于 作者: B bigsheeper 提交者: GitHub

release collection synchronously (#5798)

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 bf396444
......@@ -400,7 +400,7 @@ func (r *releaseCollectionTask) Execute(ctx context.Context) error {
collection.setReleaseTime(r.req.Base.Timestamp)
const gracefulReleaseTime = 3
go func() {
func() { // release synchronously
errMsg := "release collection failed, collectionID = " + strconv.FormatInt(r.req.CollectionID, 10) + ", err = "
time.Sleep(gracefulReleaseTime * time.Second)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册