mirror of https://github.com/milvus-io/milvus.git
Pick Fix endless appending sids (#22989)
Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>pull/23007/head
parent
f1a389e910
commit
51c414c0c0
|
@ -97,10 +97,12 @@ func (mt *mergedTimeTickerSender) isClosed() bool {
|
|||
|
||||
func (mt *mergedTimeTickerSender) work() {
|
||||
defer mt.wg.Done()
|
||||
var sids []int64
|
||||
var isDiffTs bool
|
||||
lastTs := uint64(0)
|
||||
for {
|
||||
var (
|
||||
isDiffTs bool
|
||||
sids []int64
|
||||
)
|
||||
mt.cond.L.Lock()
|
||||
if mt.isClosed() {
|
||||
mt.cond.L.Unlock()
|
||||
|
|
Loading…
Reference in New Issue