mirror of https://github.com/milvus-io/milvus.git
parent
ee5a4fcde4
commit
5f5949cf2f
|
@ -312,15 +312,6 @@ func (ri *retentionInfo) retention() error {
|
|||
}
|
||||
}
|
||||
ri.mutex.RUnlock()
|
||||
// ri.lastRetentionTime.Range(func(k, v interface{}) bool {
|
||||
// if v.(int64)+checkTime < timeNow {
|
||||
// err := ri.newExpiredCleanUp(k.(string))
|
||||
// if err != nil {
|
||||
// log.Warn("Retention expired clean failed", zap.Any("error", err))
|
||||
// }
|
||||
// }
|
||||
// return true
|
||||
// })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue