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

(cherry picked from commit a67d26a1e8)

Co-authored-by: Lijun Wang <83639177+lijunwangs@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-07-01 00:12:33 +00:00
committed by GitHub
parent 4ff482cd47
commit 896ef5a15f

View File

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