Reintroduce leader_id to blobs (#2986)

This commit is contained in:
Sagar Dhawan
2019-02-27 13:37:08 -08:00
committed by GitHub
parent e45559a1a7
commit 3a20a20807
12 changed files with 67 additions and 90 deletions

View File

@@ -159,7 +159,7 @@ fn test_replay() {
let entries = vec![entry0, entry_tick0, entry_tick1, entry1, entry_tick2];
let blobs = entries.to_shared_blobs();
index_blobs(&blobs, &mut blob_idx, 0);
index_blobs(&blobs, &leader.info.id, &mut blob_idx, 0);
blobs
.iter()
.for_each(|b| b.write().unwrap().meta.set_addr(&tvu_addr));