From db79c7348226b98a320f8d8d00f35829da17ecb3 Mon Sep 17 00:00:00 2001 From: David Himmelstrup Date: Thu, 24 Oct 2024 12:41:41 +0200 Subject: [PATCH] temp fix: disable the garbage collector (#4927) --- CHANGELOG.md | 3 +++ src/daemon/mod.rs | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8780d253b9d..ccaf8f00681 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -51,6 +51,9 @@ ### Removed +- [#4927](https://github.com/ChainSafe/forest/pull/4927) Temporarily disable + garbage collection. + ### Fixed ## Forest 0.21.0 "Songthaew" diff --git a/src/daemon/mod.rs b/src/daemon/mod.rs index f0e6e31f77e..e752b1c47d0 100644 --- a/src/daemon/mod.rs +++ b/src/daemon/mod.rs @@ -246,7 +246,11 @@ pub(super) async fn start( genesis_header.clone(), )?); - if !opts.no_gc { + // Network Upgrade manifests are stored in the blockstore but may not be + // garbage collected. Until this is fixed, the GC has to be disabled. + // Tracking issue: https://github.com/ChainSafe/forest/issues/4926 + // if !opts.no_gc { + if false { let mut db_garbage_collector = { let chain_store = chain_store.clone(); let depth = cmp::max(