mirror of https://github.com/milvus-io/milvus.git
No buffer also means flushed (#8686)
Resolves: #8684 Signed-off-by: yangxuan <xuan.yang@zilliz.com>pull/8693/head
parent
0b99da9301
commit
b150f57927
|
@ -271,11 +271,8 @@ func (ibNode *insertBufferNode) Operate(in []Msg) []Msg {
|
|||
)
|
||||
|
||||
bd, ok := ibNode.insertBuffer.Load(currentSegID)
|
||||
if !ok {
|
||||
break
|
||||
}
|
||||
|
||||
if bd.(*BufferData).size <= 0 { // Buffer empty
|
||||
if !ok || bd.(*BufferData).size <= 0 { // Buffer empty
|
||||
log.Debug(".. Buffer empty ...")
|
||||
ibNode.dsSaveBinlog(&segmentFlushUnit{
|
||||
collID: fmsg.collectionID,
|
||||
|
|
Loading…
Reference in New Issue