1. 30 Aug, 2021 2 commits
  2. 24 Aug, 2021 3 commits
  3. 23 Aug, 2021 2 commits
  4. 03 May, 2021 2 commits
  5. 18 Feb, 2021 2 commits
  6. 27 Jan, 2021 1 commit
  7. 30 Nov, 2020 1 commit
    • Andrew Gillis's avatar
      Datastore based pinner (#4) · 4c920717
      Andrew Gillis authored
      feat: 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
      4c920717
  8. 27 Apr, 2020 1 commit
  9. 17 Feb, 2020 1 commit
  10. 15 Feb, 2020 1 commit
  11. 16 Dec, 2019 1 commit
  12. 05 Dec, 2019 1 commit
  13. 03 Dec, 2019 1 commit
  14. 02 Dec, 2019 2 commits
  15. 20 Nov, 2019 2 commits
  16. 19 Nov, 2019 1 commit
  17. 18 Nov, 2019 3 commits
  18. 08 Oct, 2019 1 commit
  19. 23 Sep, 2019 1 commit
  20. 26 Jul, 2019 1 commit
  21. 22 Jul, 2019 1 commit
  22. 16 Jul, 2019 1 commit
    • Steven Allen's avatar
      switch to new merkledag walk functions · 9e2284b1
      Steven Allen authored
      EnumerateChildrenAsync has been renamed to WalkParallel to reflect the fact
      that:
      
      1. It visits the root.
      2. It's parallel, not async.
      
      To mirror this change, EnumerateChildren has also been renamed to Walk and now
      behaves the same (except that it's not parallel).
      9e2284b1
  23. 06 Jun, 2019 1 commit
  24. 09 May, 2019 1 commit
  25. 30 Apr, 2019 1 commit
  26. 29 Mar, 2019 1 commit
  27. 21 Mar, 2019 1 commit
    • Steven Allen's avatar
      gc: fix a potential deadlock · eb33dc1f
      Steven Allen authored
      Events:
      
      1. User triggers a GC.
      2. User aborts the GC.
      3. We fail to delete a block when the output channel is already full.
      
      This is really unlikely to happen in practice but it's still incorrect.
      
      Could be related to #6107
      
      License: MIT
      Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
      eb33dc1f
  28. 05 Mar, 2019 1 commit
  29. 27 Feb, 2019 2 commits