We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1243a04 commit e2ac9b9Copy full SHA for e2ac9b9
consensus/src/pipeline/pruning_processor/processor.rs
@@ -383,7 +383,11 @@ impl PruningProcessor {
383
384
// Prune the selected chain index below the pruning point
385
let mut selected_chain_write = self.selected_chain_store.write();
386
- selected_chain_write.prune_below_pruning_point(BatchDbWriter::new(&mut batch), retention_period_root).unwrap();
+ if let None =
387
+ selected_chain_write.prune_below_pruning_point(BatchDbWriter::new(&mut batch), retention_period_root).unwrap_option()
388
+ {
389
+ warn!("Temporary upgrade logic: repairing index up to retention root");
390
+ }
391
392
// Flush the batch to the DB
393
self.db.write(batch).unwrap();
0 commit comments