Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

skip concurrent dump due to no valid smax or smin #189

Merged
merged 1 commit into from
Nov 6, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions v4/export/ir_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ func splitTableDataIntoChunks(
return
}
if !smax.Valid || !smin.Valid {
// found no data
log.Warn("no data to dump", zap.String("schema", dbName), zap.String("table", tableName))
close(tableDataIRCh)
// smax and smin are not valid, but there can also be data to dump, so just skip split chunk logic.
log.Debug("skip concurrent dump due to no valid smax or smin", zap.String("schema", dbName), zap.String("table", tableName))
linear <- struct{}{}
return
}

Expand Down