mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
Fix segments not removed from flushingCache (#10738)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
a22964423f
commit
169af67eb1
@ -481,7 +481,6 @@ func TestAvgAssignRegisterPolicy(t *testing.T) {
|
||||
memkv.NewMemoryKV(),
|
||||
map[int64]*NodeChannelInfo{
|
||||
1: {1, []*channel{{"ch1", 1}, {"ch2", 1}}},
|
||||
2: {2, []*channel{{"ch3", 1}, {"ch4", 1}}},
|
||||
},
|
||||
},
|
||||
3,
|
||||
|
@ -212,8 +212,8 @@ func (dsService *dataSyncService) initNodes(vchanInfo *datapb.VchannelInfo) erro
|
||||
if rsp.ErrorCode != commonpb.ErrorCode_Success {
|
||||
return fmt.Errorf("data service save bin log path failed, reason = %s", rsp.Reason)
|
||||
}
|
||||
dsService.flushingSegCache.Remove(req.GetSegmentID())
|
||||
return nil
|
||||
|
||||
})
|
||||
|
||||
c := &nodeConfig{
|
||||
|
Loading…
Reference in New Issue
Block a user