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

@@ -310,8 +310,7 @@ pub fn process_blob(
)?;
vec![]
} else {
let data_key = DataCf::key(slot, pix);
db_ledger.insert_data_blob(&data_key, &blob.read().unwrap())?
db_ledger.insert_data_blobs(vec![&*blob.read().unwrap()])?
};
#[cfg(feature = "erasure")]