mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: lifeTime not released in time (#36093)
https://github.com/milvus-io/milvus/issues/36092 Signed-off-by: fengjun2016 <jornfeng@gmail.com>
This commit is contained in:
parent
30a99b66c1
commit
8787e65b1f
@ -90,9 +90,11 @@ func (w *walAccesserImpl) Txn(ctx context.Context, opts TxnOption) (Txn, error)
|
||||
}
|
||||
|
||||
if opts.VChannel == "" {
|
||||
w.lifetime.Done()
|
||||
return nil, status.NewInvaildArgument("vchannel is required")
|
||||
}
|
||||
if opts.Keepalive < 1*time.Millisecond {
|
||||
w.lifetime.Done()
|
||||
return nil, status.NewInvaildArgument("ttl must be greater than or equal to 1ms")
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user