Debug broadcast (#2208)

* Add per cf rocksdb options, increase compaction and flush threads

* Change broadcast stage to bulk write blobs

* add db_ledger function specifically for broadcast

* fix broken tests

* fix benches
This commit is contained in:
carllin
2018-12-19 16:11:47 -08:00
committed by GitHub
parent 2fe3402362
commit 666af1e62d
5 changed files with 310 additions and 108 deletions

View File

@ -450,6 +450,7 @@ mod tests {
let mut bank = Bank::new(&alice);
let bob_pubkey = Keypair::new().pubkey();
let ledger_path = create_tmp_ledger_with_mint("thin_client", &alice);
let entry_height = alice.create_entries().len() as u64;
let leader_scheduler = Arc::new(RwLock::new(LeaderScheduler::from_bootstrap_leader(
leader_data.id,
@ -461,7 +462,7 @@ mod tests {
leader_keypair,
vote_account_keypair,
bank,
0,
entry_height,
&last_id,
leader,
None,