Orbit-db: Manifest & access controller becomes unpinned by ipfs repo GC

Created on 12 May 2020  路  4Comments  路  Source: orbitdb/orbit-db

We need to automatically pin both the manifest and the access controller during db open to prevent go-ipfs from deleting them while performing repo garbage collection.

Most helpful comment

Started work on this at the ACL level here: https://github.com/orbitdb/orbit-db-access-controllers/pull/45

All 4 comments

I'm guessing you would also unpin the data when the store is dropped

I don't see this documented anywhere, but I think if you pass { pin: true } to orbitdb.create that may pin the manifest. I'm not sure if that will recursively pin the access controller. My guess is no.

From what I can tell there is no way to pin the ac or manifest for an already created db.

Started work on this at the ACL level here: https://github.com/orbitdb/orbit-db-access-controllers/pull/45

Unfortunately pin: true will not work :(

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maroodb picture maroodb  路  3Comments

daviddias picture daviddias  路  6Comments

oed picture oed  路  5Comments

crazyrabbitLTC picture crazyrabbitLTC  路  6Comments

adamski picture adamski  路  5Comments