Break page loop when no acked ts is nil (#12705)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-06 15:17:35 +08:00 committed by GitHub
parent f4c7206992
commit 847d3e7d4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,9 @@ func (ri *retentionInfo) expiredCleanUp(topic string) error {
if err != nil {
return err
}
if ackedTsVal == "" {
break
}
ackedTs, err := strconv.ParseInt(ackedTsVal, 10, 64)
if err != nil {
return err