Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Implement Garbage Collection #2022

Merged
merged 56 commits into from
Aug 26, 2019
Merged

Implement Garbage Collection #2022

merged 56 commits into from
Aug 26, 2019

Commits on Aug 26, 2019

  1. feat: implement ipfs refs

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    eb4ab1f View commit details
    Browse the repository at this point in the history
  2. feat: refs support in http api

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    761e305 View commit details
    Browse the repository at this point in the history
  3. feat: use ipld instead of unix-fs-exporter for refs

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    2f632ec View commit details
    Browse the repository at this point in the history
  4. feat: refs local

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    7b498fb View commit details
    Browse the repository at this point in the history
  5. feat: add refs.localPullStream && refs.localReadableStream

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    c8e964a View commit details
    Browse the repository at this point in the history
  6. feat: make object.links work with CBOR

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    0137caf View commit details
    Browse the repository at this point in the history
  7. feat: handle multiple refs. Better param handling

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    f6d7a2a View commit details
    Browse the repository at this point in the history
  8. feat: GC

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    793a355 View commit details
    Browse the repository at this point in the history
  9. chore: add comment to explain cli param parsing

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    719a9f9 View commit details
    Browse the repository at this point in the history
  10. refactor: move links retrieval from object to refs

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    a5db723 View commit details
    Browse the repository at this point in the history
  11. feat: expose GC to http api

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    ae27eb5 View commit details
    Browse the repository at this point in the history
  12. test: unskip repo gc test

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    1e3aedc View commit details
    Browse the repository at this point in the history
  13. fix: refactor and fix some bugs with GC

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    df86ce4 View commit details
    Browse the repository at this point in the history
  14. feat: GC locking

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    0d5085d View commit details
    Browse the repository at this point in the history
  15. test: add gc locking tests

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    43b1720 View commit details
    Browse the repository at this point in the history
  16. refactor: rebase

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    d970a32 View commit details
    Browse the repository at this point in the history
  17. fix: gc use uppercase dag.Links

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    3ec57d9 View commit details
    Browse the repository at this point in the history
  18. chore: update package.json deps

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    255dee3 View commit details
    Browse the repository at this point in the history
  19. chore: rebase

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    c8d1f08 View commit details
    Browse the repository at this point in the history
  20. chore: add joi to package.json

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    568a1d9 View commit details
    Browse the repository at this point in the history
  21. refactor: pin/gc common code

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    c0007af View commit details
    Browse the repository at this point in the history
  22. fix: browser gc tests

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    8de0c2b View commit details
    Browse the repository at this point in the history
  23. fix: gc parsing of block cid in browser

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    28b615d View commit details
    Browse the repository at this point in the history
  24. test: add gc-lock tests

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    05ae894 View commit details
    Browse the repository at this point in the history
  25. fix: gc lock error handling

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    8b52444 View commit details
    Browse the repository at this point in the history
  26. fix: gc - take pin lock after resolve

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    0c7cfdf View commit details
    Browse the repository at this point in the history
  27. fix: make sure each GCLock instance uses distinct mutex

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    81e3dd0 View commit details
    Browse the repository at this point in the history
  28. fix: choose non-overlapping port for GC test

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    7898ca2 View commit details
    Browse the repository at this point in the history
  29. fix: better gc test port config

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    bdcbddb View commit details
    Browse the repository at this point in the history
  30. test: increase timeout for repo gc test

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    a07ed7f View commit details
    Browse the repository at this point in the history
  31. fix: webworkers + mortice

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    ef86efc View commit details
    Browse the repository at this point in the history
  32. chore: refactor mortice options

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    75159a0 View commit details
    Browse the repository at this point in the history
  33. fix: gc rm test on Windows

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    c2b5ef6 View commit details
    Browse the repository at this point in the history
  34. fix: ensure gc filters all internal pins

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    7cfc53b View commit details
    Browse the repository at this point in the history
  35. test: enable gc tests over ipfs-http-client

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    026158f View commit details
    Browse the repository at this point in the history
  36. chore: better gc logging

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    bf4e731 View commit details
    Browse the repository at this point in the history
  37. fix: pin walking

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    356e263 View commit details
    Browse the repository at this point in the history
  38. refactor: pin set walking

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    58f34d6 View commit details
    Browse the repository at this point in the history
  39. refactor: import pull modules directly

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    168046a View commit details
    Browse the repository at this point in the history
  40. chore: update mortice package

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    216e53a View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    4712178 View commit details
    Browse the repository at this point in the history
  42. chore: lint fixes

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    681b577 View commit details
    Browse the repository at this point in the history
  43. chore: update ipfs-http-client

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    c81a920 View commit details
    Browse the repository at this point in the history
  44. fix: path to gc-lock

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    11a02dd View commit details
    Browse the repository at this point in the history
  45. fix: apply review comments

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    1e4c97a View commit details
    Browse the repository at this point in the history
  46. chore: address review comments

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    a8c362c View commit details
    Browse the repository at this point in the history
  47. refactor: simplify gc-lock

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    43a2644 View commit details
    Browse the repository at this point in the history
  48. refactor: move EventEmitter from GCLock to test

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    c992c51 View commit details
    Browse the repository at this point in the history
  49. refactor: better default args handing in Mutex

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    c364b19 View commit details
    Browse the repository at this point in the history
  50. fix: lint fixes

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    358b957 View commit details
    Browse the repository at this point in the history
  51. fix: use repo path as mortice id

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    bcc8a69 View commit details
    Browse the repository at this point in the history
  52. test: add repo gc cli tests

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    24c072e View commit details
    Browse the repository at this point in the history
  53. fix: remove hacky cocde

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    97f8054 View commit details
    Browse the repository at this point in the history
  54. test: sharness test for GC

    dirkmc authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    36f45f4 View commit details
    Browse the repository at this point in the history
  55. fix: review feedback

    License: MIT
    Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
    Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    d085a30 View commit details
    Browse the repository at this point in the history
  56. fix: Do not load all of a DAG into memory when pinning (#2387)

    Port of #2372 into gc branch to ease merging
    achingbrain authored and Alan Shaw committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    f869455 View commit details
    Browse the repository at this point in the history