Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestMinerDealMarshallUnMarshall #600

Draft
wants to merge 66 commits into
base: master
Choose a base branch
from
Draft

Commits on Jul 13, 2021

  1. Integrate CARv2 Blockstore with Storage Markets (#558)

    * dag store lotus mount
    
    * storage client code complete-tests remain
    
    * storage miner first draft
    
    * second draft
    
    * provider state tests are now working
    
    * most unit tests working and more unit tests
    
    * refactor: car store trackers (#559)
    
    * Apply suggestions from code review
    
    Co-authored-by: dirkmc <dirkmdev@gmail.com>
    
    * nits and review
    
    * integration testing changes
    
    * storage test harness changes
    
    * added more TODOs
    
    * fix itests for storage
    
    * get offline deal tests working
    
    * tests work
    
    * more tests
    
    * integration tests
    
    * fix blockstore finalize
    
    * Integrate CARv2 blockstore in the retrieval market (#560)
    
    * refactor: integrate dag store into retrieval market
    
    * fix all tests and the padding issue
    
    * refactor: move mount from shared testutil to dagstore dir
    
    * refactor: add tests for lazy blockstore
    
    * refactor: code cleanup
    
    * feat: update go-car to latest
    
    * Dagstore lotus mount Implementation with tests (#564)
    
    * dagstore lotus mount impl
    
    * refactor: nicer error messages
    
    * mount api tests
    
    * refactor: integrate dag store (#565)
    
    Co-authored-by: Dirk McCormick <dirkmdev@gmail.com>
    
    * some storage market fixes by aarsh
    
    * fix: better error messages in DAG store wrapper
    
    * refactor: simplify mock dag store wrapper
    
    * fix: TestBounceConnectionDealTransferOngoing
    
    * refactor: remove some commented out code
    
    * refactor: closable blockstore interface to use full blockstore
    
    * fix: TestBounceConnectionDealTransferUnsealing
    
    * refactor: add comment explaining lotus mount template
    
    * test: verify that the lazy blockstore is only initialized once
    
    * fix: comment
    
    * fix: always finalize blockstore before reaching complete state (#567)
    
    Co-authored-by: aarshkshah1992 <aarshkshah1992@gmail.com>
    
    Co-authored-by: dirkmc <dirkmdev@gmail.com>
    aarshkshah1992 and dirkmc committed Jul 13, 2021
    Configuration menu
    Copy the full SHA
    81aaf62 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2021

  1. Configuration menu
    Copy the full SHA
    ff52af4 View commit details
    Browse the repository at this point in the history
  2. Attempt to register and acquire a shard again during Loading if the f…

    …irst attempt fails with `ErrShardUnknown` (#571)
    
    * register a shard during loading and attempt to load again
    
    * use dagstore 0.1
    
    * address nit
    aarshkshah1992 committed Jul 14, 2021
    Configuration menu
    Copy the full SHA
    12e2d41 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2021

  1. Integrate CARv2 Blockstore resumption (#572)

    * integrate CARv2 blockstore  resumption
    
    * fix: enable finalize blockstore after restart
    
    * fix: use latest go-car
    
    Co-authored-by: Dirk McCormick <dirkmdev@gmail.com>
    aarshkshah1992 and dirkmc committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    e6c3d53 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    af2035f View commit details
    Browse the repository at this point in the history
  3. add migration to register deals as shards (#570)

    * feat: migration to register all active deals as shards
    
    * feat: check if deal unsealed during register shard migration
    
    * fix: register shards in parallel
    
    * test: shard registration test
    
    * refactor: dag store wrapper register shard
    
    * fix: address review
    
    * refactor: use map to check if deal in sealing state
    
    * refactor: rename shard registration methods
    
    * migration: start consuming results ASAP.
    
    * simplify indirection.
    
    * fix a bug; thanks @dirkmc
    
    * fix: lint imports
    
    Co-authored-by: Raúl Kripalani <raul@protocol.ai>
    dirkmc and raulk committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    abecf67 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2021

  1. Remove Badger from storage client (#573)

    * remove badger from storage client
    
    * fix test compilation
    
    * update go.mod
    
    * add docs
    
    * fix go mod
    
    * update carv2 and tests for the filestore adapter
    
    * fix tests and update carv2
    aarshkshah1992 committed Jul 16, 2021
    Configuration menu
    Copy the full SHA
    cf7e2a9 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2021

  1. Configuration menu
    Copy the full SHA
    9d8beae View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2021

  1. Configuration menu
    Copy the full SHA
    11b5719 View commit details
    Browse the repository at this point in the history
  2. Fix how we check for the unsealed status of a piece in Shard migration (

    #575)
    
    * fix isUnsealed check in shard migration
    
    * changes as per review
    aarshkshah1992 committed Jul 19, 2021
    Configuration menu
    Copy the full SHA
    de11811 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d96d8ea View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3111d55 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Configuration menu
    Copy the full SHA
    501a03c View commit details
    Browse the repository at this point in the history
  2. refactor: move lotus mount and dag store wrapper to lotus (#578)

    * refactor: move lotus mount and dag store wrapper to lotus
    
    * rebase
    
    Co-authored-by: aarshkshah1992 <aarshkshah1992@gmail.com>
    dirkmc and aarshkshah1992 committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    746035a View commit details
    Browse the repository at this point in the history
  3. update CARv2 (#580)

    aarshkshah1992 committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    3f44f43 View commit details
    Browse the repository at this point in the history
  4. update dagstore (#581)

    aarshkshah1992 committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    fe035bd View commit details
    Browse the repository at this point in the history
  5. go mod tidy.

    raulk committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    cae21a6 View commit details
    Browse the repository at this point in the history
  6. update CARv2

    aarshkshah1992 committed Jul 20, 2021
    Configuration menu
    Copy the full SHA
    bff59fc View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2021

  1. Configuration menu
    Copy the full SHA
    eed1c3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6188d3 View commit details
    Browse the repository at this point in the history
  3. update go mod

    aarshkshah1992 committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    0693b90 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a531f36 View commit details
    Browse the repository at this point in the history
  5. update dagstore deps

    aarshkshah1992 committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    baaa1fa View commit details
    Browse the repository at this point in the history
  6. fix file removal

    aarshkshah1992 committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    8142226 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3f73859 View commit details
    Browse the repository at this point in the history
  8. update dagstore

    aarshkshah1992 committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    8049f8e View commit details
    Browse the repository at this point in the history
  9. dagstore logging

    aarshkshah1992 committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    522291c View commit details
    Browse the repository at this point in the history
  10. log task disappear

    aarshkshah1992 committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    8c8016e View commit details
    Browse the repository at this point in the history
  11. update dagstore

    aarshkshah1992 committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    93d14fc View commit details
    Browse the repository at this point in the history
  12. update dagstore

    aarshkshah1992 committed Jul 21, 2021
    Configuration menu
    Copy the full SHA
    f8c185f View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2021

  1. Configuration menu
    Copy the full SHA
    a0c4367 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    59befb9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f8b9c7d View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2021

  1. Chore/tentative master m1 merge (#590)

    * remove wrong peer check in push deal validation (#585)
    
    * remove wrong peer check in push deal validation
    
    * kill the pull side of peer id checking as well
    
    * fixup comments
    
    * Do not hex-encode CIDs in logs (#561)
    
    * On overloaded CI 10 seconds just isn't enough (#587)
    
    * support padding out smaller files (#536)
    
    * support padding out smaller files
    
    * Actually write out the padding - AP depends on it
    
    Co-authored-by: Peter Rabbitson <ribasushi@protocol.ai>
    
    Co-authored-by: Whyrusleeping <why@ipfs.io>
    Co-authored-by: Raúl Kripalani <raul@protocol.ai>
    3 people committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    a129289 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06e1727 View commit details
    Browse the repository at this point in the history
  3. update dagstore

    aarshkshah1992 committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    29002ec View commit details
    Browse the repository at this point in the history
  4. add missing event labels.

    raulk committed Jul 26, 2021
    Configuration menu
    Copy the full SHA
    ebe4adf View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2021

  1. update diagrams.

    raulk committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    f04a3e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47cfb03 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a0cb62e View commit details
    Browse the repository at this point in the history
  4. go mod tidy.

    raulk committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    ccfc5df View commit details
    Browse the repository at this point in the history
  5. upgrade dagstore to v0.3.1.

    raulk committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    cc78fa1 View commit details
    Browse the repository at this point in the history
  6. fix goimports.

    raulk committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    43b897c View commit details
    Browse the repository at this point in the history
  7. fix cbor gen.

    raulk committed Jul 27, 2021
    Configuration menu
    Copy the full SHA
    2213f80 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2021

  1. better shard migration logging.

    raulk committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    0f78d83 View commit details
    Browse the repository at this point in the history
  2. add an extra log.

    raulk committed Jul 28, 2021
    Configuration menu
    Copy the full SHA
    f483983 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2021

  1. Configuration menu
    Copy the full SHA
    a44f98a View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2021

  1. Configuration menu
    Copy the full SHA
    f122745 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d14ff2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a12848e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b0ee7c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3fd257a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    64734de View commit details
    Browse the repository at this point in the history
  7. fix lint.

    raulk committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    439a9ac View commit details
    Browse the repository at this point in the history
  8. fix test compilation.

    raulk committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    1631c88 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4d3607a View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. address comments.

    raulk committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    79ee3ff View commit details
    Browse the repository at this point in the history
  2. wrap errors.

    raulk committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    1867beb View commit details
    Browse the repository at this point in the history
  3. quieten goimports.

    raulk committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    7a479e7 View commit details
    Browse the repository at this point in the history
  4. run prepare-pr.

    raulk committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    2a38ade View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cdd492e View commit details
    Browse the repository at this point in the history
  6. redesign dagstore migration.

    This commit moves the migration logic out of this module
    and into Lotus, as it is implementation specific.
    
    The migration now lives in the DAGStoreWrapper, which
    also makes for a simpler design.
    raulk committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    3621b28 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d9273d7 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #599 from filecoin-project/raulk/migration-redesign

    redesign dagstore migration.
    raulk committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    86b702f View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2021

  1. Configuration menu
    Copy the full SHA
    fae9419 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f12fb97 View commit details
    Browse the repository at this point in the history