Fixed an issue doing the set_roots repeatedly for the same set. Instead doing the per chunks. (#18314) (#18336)

(cherry picked from commit a67d26a1e8)

Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-06-30 23:49:38 +00:00
committed by GitHub
parent df8cf37b89
commit 0ecd7e5c90

View File

@ -2976,7 +2976,7 @@ impl Blockstore {
return Ok(());
}
trace!("{:?}", chunk);
self.set_roots(&roots_to_fix)?;
self.set_roots(chunk)?;
}
} else {
debug!(