Skip to content

Commit

Permalink
merge devel
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Jan 7, 2024
1 parent 19ea8dc commit efda387
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions turbo/snapshotsync/freezeblocks/block_snapshots.go
Original file line number Diff line number Diff line change
Expand Up @@ -1101,16 +1101,10 @@ func noGaps(in []snaptype.FileInfo, from uint64) (out []snaptype.FileInfo, missi
prevTo := from
for _, f := range in {
if f.To <= prevTo {
if f.T == snaptype.Bodies {
fmt.Printf("[dbg] skip1: %s\n", f.Path)
}
continue
}
if f.From != prevTo { // no gaps
missingSnapshots = append(missingSnapshots, Range{prevTo, f.From})
if f.T == snaptype.Bodies {
fmt.Printf("[dbg] skip2: %s\n", f.Path)
}
continue
}
prevTo = f.To
Expand Down

0 comments on commit efda387

Please sign in to comment.