1. 06 Sep, 2018 2 commits
  2. 05 Sep, 2018 2 commits
  3. 22 Aug, 2018 1 commit
  4. 15 Aug, 2018 1 commit
  5. 11 Aug, 2018 1 commit
  6. 12 Jul, 2018 1 commit
  7. 09 Jun, 2018 1 commit
  8. 15 Feb, 2018 1 commit
  9. 25 Jan, 2018 1 commit
  10. 20 Jan, 2018 1 commit
  11. 11 Dec, 2017 1 commit
  12. 05 Dec, 2017 1 commit
  13. 16 Nov, 2017 4 commits
    • Steven Allen's avatar
      add context to batch · 6cf32cc8
      Steven Allen authored
      I considered (well, implemented then threw it away) allowing contexts on all
      calls to Batch (Add, Commit, etc). However, really, you should treat a batch
      as a single large "operation".
      
      I also went down the road of generalizing batches to sessions. However, it
      became immediately obvious that permitting add *and* remove *and* fetch would
      require a lot of bookkeeping and that you'd lose a lot of performance. So, we'll
      do that separately.
      6cf32cc8
    • Steven Allen's avatar
      add contexts to Add/Remove methods · 44a78014
      Steven Allen authored
      We'll need these for slower/remote datastores.
      44a78014
    • Steven Allen's avatar
      Add RemoveMany method · f10b5dd9
      Steven Allen authored
      f10b5dd9
    • Steven Allen's avatar
      don't return CIDs on add · b4033237
      Steven Allen authored
      The caller can just call `node.Cid()` and returning CIDs from `AddMany` requires
      allocation.
      b4033237
  14. 15 Nov, 2017 1 commit
    • Steven Allen's avatar
      Make remove idempotent. · 6f9115bb
      Steven Allen authored
      1. Add is already idempotent. This makes remove match.
      2. Generally, all we care about is that the node no longer exists in the DAG. If
      two callers remove a node at the same time, they should both succeed. Currently,
      we *ignore* the result of Remove in go-ipfs. IMO, it would be better to let
      errors be *errors* and only return an error if something goes wrong.
      3. This can be significantly faster. It allows us to batch/queue removes (as
      long as we guarantee that they'll eventually happen).
      4. This matches how most databases/key-value stores operate.
      
      An alternative would be to return `(deleted bool, err error)` but then we don't
      get the speedup.
      6f9115bb
  15. 16 Oct, 2017 16 commits
  16. 29 Aug, 2017 2 commits
  17. 11 Jul, 2017 3 commits