fix(exex): do not advance backfill range twice (#10942)

This commit is contained in:
Alexey Shekhirin
2024-09-16 21:20:34 +01:00
committed by GitHub
parent b38539c18a
commit 8b61b9bf9b

View File

@ -114,9 +114,6 @@ where
let start = range.next();
let range_bounds = start.zip(range.last().or(start));
// Advance the range by `batch_size` blocks
this.range.nth(this.batch_size);
// If we have range bounds, then we can spawn a new task for that range
if let Some((first, last)) = range_bounds {
let range = first..=last;