Skip to content

core/bloombits: remove old bloombits logic and chain indexer #31081

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 21, 2025
Merged
Prev Previous commit
Next Next commit
core/filtermaps: fixed safeDeleteRange
  • Loading branch information
zsfelfoldi committed Mar 20, 2025
commit d7770b3102c9d3615b14ae47a08b5af6b60e4f22
6 changes: 4 additions & 2 deletions core/filtermaps/filtermaps.go
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,10 @@ func (f *FilterMaps) safeDeleteRange(removeFn func(ethdb.KeyValueRangeDeleter) e
var retry bool
for {
err := removeFn(f.db)
if retry && err == nil {
log.Info(action+" finished", "elapsed", time.Since(start))
if err == nil {
if retry {
log.Info(action+" finished", "elapsed", time.Since(start))
}
return true
}
if err != leveldb.ErrTooManyKeys {
Expand Down