Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tipabu/erasurecode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: tipabu/erasurecode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: utils
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 2 files changed
  • 1 contributor

Commits on Dec 11, 2017

  1. Add ECReader APIs

    tipabu committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    a1fd4df View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2017

  1. Rework ECReader interface

    - We maybe shouldn't be in charge of closing
    - Actually have a functioning implementation
    - Split ReadFragmentHeader off from ReadFragment
    tipabu committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    946252e View commit details
    Browse the repository at this point in the history
  2. Add GuessParams([]io.Reader)

    Given a bunch of Readers, read the first fragment header from each;
    check that they all have the same backend, fragment size, and original
    data size; and return an ErasureCodeParams instance with an appropriate
    backend name and an upper-bound for the number of parity fragments.
    
    Currently, the caller needs to know the appropriate number of data
    fragments -- in the future we might be able to guess this from the ratio
    of original data size to fragment size.
    tipabu committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    275fb72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1f9bd57 View commit details
    Browse the repository at this point in the history
  4. Add ec-join command

    You need to provide the number of data fragments, but take a bunch of
    fragment archives and try to re-create the original file.
    tipabu committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    e7a7fd2 View commit details
    Browse the repository at this point in the history
Loading