mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix close insert msg stream bug
Signed-off-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
75e549da4e
commit
9c3ea487f6
@ -134,12 +134,10 @@ func (m *InsertChannelsMap) closeInsertMsgStream(collID UniqueID) error {
|
||||
m.usageHistogram[loc]--
|
||||
if m.usageHistogram[loc] <= 0 {
|
||||
m.insertMsgStreams[loc].Close()
|
||||
m.droppedBitMap[loc] = 1
|
||||
delete(m.collectionID2InsertChannels, collID)
|
||||
log.Print("close insert message stream ...")
|
||||
}
|
||||
log.Print("close insert message stream ...")
|
||||
|
||||
m.droppedBitMap[loc] = 1
|
||||
delete(m.collectionID2InsertChannels, collID)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@ grpcio==1.26.0
|
||||
grpcio-tools==1.26.0
|
||||
numpy==1.18.1
|
||||
pytest-cov==2.8.1
|
||||
pymilvus-distributed==0.0.19
|
||||
pymilvus-distributed==0.0.17
|
||||
sklearn==0.0
|
||||
pytest==4.5.0
|
||||
pytest-timeout==1.3.3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user