Skip to content

Commit

Permalink
temp fix: disable the garbage collector (#4927)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemmih authored Oct 24, 2024
1 parent 27e897b commit db79c73
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@

### Removed

- [#4927](https://github.com/ChainSafe/forest/pull/4927) Temporarily disable
garbage collection.

### Fixed

## Forest 0.21.0 "Songthaew"
Expand Down
6 changes: 5 additions & 1 deletion src/daemon/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit db79c73

Please sign in to comment.