Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

Releases: ipfs/go-ipfs-pinner

v0.3.1

25 May 14:11
Compare
Choose a tag to compare

What's Changed

  • docs(pinning): eliminate copy-n-paste typo by @smoyer64 in #28

New Contributors

Full Changelog: v0.3.0...v0.3.1

v0.3.0

22 Feb 14:53
900edf3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.3.0

v0.2.0

11 Nov 18:44
72f5e02
Compare
Choose a tag to compare

This release upgrades dependencies to plumb through datastore interface changes.

v0.1.2

29 Jul 15:42
f708928
Compare
Choose a tag to compare

Fixes and optimizations in reindexing. Log every operation.

v0.1.1

27 Jan 19:43
9ed588a
Compare
Choose a tag to compare

Converting from an IPLD backed pinner to a datastore backed one now requires much less memory and does not touch any of the indirect pins stored in the underlying DAGStore.

v0.1.0

30 Nov 22:40
4c92071
Compare
Choose a tag to compare

Store pins in datastore instead of a DAG

Adds a new /pins namespace to the given datastore and uses that to store pins as cbor binary, keyed by unique pin ID.

The new datastore pinner stores pins in the datastore as individual key-value items. This is faster than the dag pinner, which stored all pins in a single dag that had to be rewritten every time a pin was added or removed.

The new pinner provides a secondary indexing mechanism that can be used to index any data that a pin has. Secondary indexing logic is provided by the dsindex package. The new pinner currently includes indexing by CID.

Both the new datastore pinner (dspinner package) and the old dag pinner (ipldpinner package) implementations are included to support migration between the two. Migration logic is provided by the pinconv package.

Other features in new pinner:

  • Benchmarks are provided to compare performance of between the old and new pinners
  • New pinner does not keep in-memory set of pinned CIDs, instead it relies on the datastore
  • Separate recursive and direct CID indexes allow searching for pins without having to load pin data to check the mode
  • New pinner can rebuild indexes on load, if saved pins appear out of sync with the indexes

Breaking Change

Since we now have two pinner implementations (ipldpinner and dspinner) the functions for creating the datastores now lives in the individual packages. The dspinner is much more performant and should be used unless backwards compatibility is needed.

Release v0.0.4

17 Feb 17:40
92e4fe9
Compare
Choose a tag to compare

Avoid holding pin lock while fetching updates to a pin.

v0.0.3

16 Dec 18:12
495dd3c
Compare
Choose a tag to compare
Merge pull request #1 from ipfs/feat/async-ds

Support Async Datastores