Integrate coding shreds and recovery (#5625)

* Integrate coding shreds and recovery

* More tests for shreds and some fixes

* address review comments

* fixes to code shred generation

* unignore tests

* fixes to recovery
This commit is contained in:
Pankaj Garg
2019-08-26 18:27:45 -07:00
committed by GitHub
parent a0f3208828
commit 4ac1213c9c
13 changed files with 614 additions and 288 deletions

View File

@@ -873,7 +873,7 @@ impl Replicator {
.iter()
.filter_map(|p| bincode::deserialize(&p.data).ok())
.collect();
blocktree.insert_shreds(&shreds)?;
blocktree.insert_shreds(shreds)?;
}
// check if all the slots in the segment are complete
if Self::segment_complete(start_slot, slots_per_segment, blocktree) {