Is data in the MFS safe from being GC'd?

Or is pinning the only way to ensure no data loss after GC?

MFS provides ‘best effort’ pin:

Given some DAG A->B->C

  • If all 3 nodes are stored locally and A is referenced by MFS, no nodes are going to be GC’ed
  • If only A and C are stored locally, C will be GC’ed because we don’t know what B references and we really don’t want have to fetch nodes when doing GC (because we may already be out of space)
1 Like