Allow flushed segments trigger flushe process (#10539)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/10578/head
congqixia 2021-10-25 18:01:50 +08:00 committed by GitHub
parent fb7d1271a4
commit bd90a3831c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -494,7 +494,7 @@ func (node *DataNode) getChannelNamebySegmentID(segID UniqueID) string {
node.chanMut.RLock()
defer node.chanMut.RUnlock()
for name, dataSync := range node.vchan2SyncService {
if dataSync.replica.hasSegment(segID, false) {
if dataSync.replica.hasSegment(segID, true) {
return name
}
}