Revert shred fs (#9712)
* Revert "Untar is called for shred archives that do not exist. (#9565)" This reverts commit729cb5eec6
. * Revert "Dont insert shred payload into rocksdb (#9366)" This reverts commit5ed39de8c5
.
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
use crate::cluster_info::{ClusterInfo, MAX_SNAPSHOT_HASHES};
|
||||
use solana_ledger::blockstore::Blockstore;
|
||||
use solana_ledger::{snapshot_package::AccountsPackageReceiver, snapshot_utils};
|
||||
use solana_sdk::{clock::Slot, hash::Hash};
|
||||
use std::{
|
||||
@ -22,7 +21,6 @@ impl SnapshotPackagerService {
|
||||
starting_snapshot_hash: Option<(Slot, Hash)>,
|
||||
exit: &Arc<AtomicBool>,
|
||||
cluster_info: &Arc<ClusterInfo>,
|
||||
blockstore: Option<Arc<Blockstore>>,
|
||||
) -> Self {
|
||||
let exit = exit.clone();
|
||||
let cluster_info = cluster_info.clone();
|
||||
@ -59,9 +57,6 @@ impl SnapshotPackagerService {
|
||||
}
|
||||
cluster_info.push_snapshot_hashes(hashes.clone());
|
||||
}
|
||||
if let Some(ref blockstore) = blockstore {
|
||||
let _ = blockstore.tar_shreds(snapshot_package.root);
|
||||
}
|
||||
}
|
||||
Err(RecvTimeoutError::Disconnected) => break,
|
||||
Err(RecvTimeoutError::Timeout) => (),
|
||||
|
Reference in New Issue
Block a user