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

feat(badger): add support for Badger version 4. The default remains Badger version 2 to ensure backward compatibility. #12316

Open
wants to merge 66 commits into
base: feat/faster-datastore-with-badger
Choose a base branch
from

Commits on Jul 19, 2024

  1. wip

    snissn committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    30fbab6 View commit details
    Browse the repository at this point in the history
  2. delete vim swaps

    snissn committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    7a278cf View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. check in wip

    snissn committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    bee642a View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. wip

    snissn committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    b077093 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2024

  1. wip

    snissn committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    0e14b09 View commit details
    Browse the repository at this point in the history
  2. options

    snissn committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    a4b7538 View commit details
    Browse the repository at this point in the history
  3. clean

    snissn committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    6c4f012 View commit details
    Browse the repository at this point in the history
  4. merge fix

    snissn committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    1690d3d View commit details
    Browse the repository at this point in the history
  5. docsgen

    snissn committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    4adc087 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. progress on options/logger

    snissn committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    a3c1c2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da5f823 View commit details
    Browse the repository at this point in the history
  3. changelog

    snissn committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    e4ffc68 View commit details
    Browse the repository at this point in the history
  4. go mod tidy

    snissn committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    b3ecb25 View commit details
    Browse the repository at this point in the history
  5. default to 2

    snissn committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    6aa56cc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    94f3ce4 View commit details
    Browse the repository at this point in the history
  7. prefix bugfix

    snissn committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    5aefc8e View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. clean up lotus-bench for pr

    snissn committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    d680f6f View commit details
    Browse the repository at this point in the history
  2. make docsgen

    snissn committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    0daa826 View commit details
    Browse the repository at this point in the history
  3. lint fixes

    snissn committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    dafc880 View commit details
    Browse the repository at this point in the history
  4. fix func signature

    snissn committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    395be91 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    91d5680 View commit details
    Browse the repository at this point in the history
  6. bugfix

    snissn committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    fd626f9 View commit details
    Browse the repository at this point in the history
  7. unused lint fix

    snissn committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    900d31f View commit details
    Browse the repository at this point in the history
  8. lintfix

    snissn committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    d0143fb View commit details
    Browse the repository at this point in the history
  9. debugging test

    snissn committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    1b1bbd0 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

  1. wip - fixes tests

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    55918db View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1d39a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd95024 View commit details
    Browse the repository at this point in the history
  4. bugfixes

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    279f2ba View commit details
    Browse the repository at this point in the history
  5. bugfix for make buildall

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    9f82d83 View commit details
    Browse the repository at this point in the history
  6. autogen

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    c01521f View commit details
    Browse the repository at this point in the history
  7. bugfix import bench

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    92c3f2d View commit details
    Browse the repository at this point in the history
  8. get tests to work with v2

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    ab99ef0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    feac779 View commit details
    Browse the repository at this point in the history
  10. fmt

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    3fd2707 View commit details
    Browse the repository at this point in the history
  11. keep ctx in doCopy

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    48f50a6 View commit details
    Browse the repository at this point in the history
  12. gofmt

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    2cac6a6 View commit details
    Browse the repository at this point in the history
  13. gofmt

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    df59d5d View commit details
    Browse the repository at this point in the history
  14. clamp unused

    snissn committed Jul 31, 2024
    Configuration menu
    Copy the full SHA
    2a65044 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2024

  1. Configuration menu
    Copy the full SHA
    50cabd0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cab56a8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c92ba1 View commit details
    Browse the repository at this point in the history
  4. remove dead code for DefaultOptions and restore comments and keep v2 …

    …and v4 options together.
    snissn committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    c461160 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'mikers/BadgerVersions' of github.com:filecoin-project/l…

    …otus into mikers/BadgerVersions
    snissn committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    6346cc6 View commit details
    Browse the repository at this point in the history
  6. remove unused AllKeysChan

    snissn committed Aug 12, 2024
    Configuration menu
    Copy the full SHA
    52604e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4de5f71 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. Update node/config/types.go

    Co-authored-by: Rod Vagg <[email protected]>
    snissn and rvagg authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    d2de85e View commit details
    Browse the repository at this point in the history
  2. Update blockstore/badger/versions/badger.go

    Co-authored-by: Rod Vagg <[email protected]>
    snissn and rvagg authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    ee737c9 View commit details
    Browse the repository at this point in the history
  3. item.Version is unused

    snissn committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    6d5d679 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'mikers/BadgerVersions' of github.com:filecoin-project/l…

    …otus into mikers/BadgerVersions
    snissn committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    26610e7 View commit details
    Browse the repository at this point in the history
  5. Update blockstore/badger/versions/badger.go

    Co-authored-by: Rod Vagg <[email protected]>
    snissn and rvagg authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    c973d48 View commit details
    Browse the repository at this point in the history
  6. Update blockstore/badger/versions/badger.go

    Co-authored-by: Rod Vagg <[email protected]>
    snissn and rvagg authored Aug 13, 2024
    Configuration menu
    Copy the full SHA
    0dc3a85 View commit details
    Browse the repository at this point in the history
  7. lint and add import

    snissn committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    624779f View commit details
    Browse the repository at this point in the history
  8. Merge branch 'mikers/BadgerVersions' of github.com:filecoin-project/l…

    …otus into mikers/BadgerVersions
    snissn committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    c7e3a84 View commit details
    Browse the repository at this point in the history
  9. makegen

    snissn committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    7b22c1c View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. feat: f3: update go-f3 to 0.2.0 (#12390)

    * Update go-f3 to 0.2.0
    
    Includes:
     - fix for excessive bandwidth usage
     - significant performance improvements
     - minor consensus fixes
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    
    * add changelog
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    
    * chore(f3): update to final released version
    
    ---------
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    Co-authored-by: Steven Allen <[email protected]>
    Kubuxu and Stebalien authored Aug 15, 2024
    Configuration menu
    Copy the full SHA
    59fe7e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d415d9f View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. Configuration menu
    Copy the full SHA
    517c7ae View commit details
    Browse the repository at this point in the history
  2. chore: post release steps for #12379 (v1.28.2 miner and node patch re…

    …lease) (#12400)
    
    * fix: lotus-miner: remove provecommit1 method (#12251)
    
    * remove provecommit1
    
    * add changelog
    
    * update precommit and commit params
    
    * fix lint error
    
    * fix commit params
    
    * dep: f3: Update go-f3 to 0.0.6, enable it on mainnet (#12295)
    
    * Update go-f3 to 0.0.6
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    
    * Enable F3 in passive configuration in mainnet config
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    
    * Add changelog
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    
    * add new butterfly assets
    
    ---------
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    Co-authored-by: Jennifer Wang <[email protected]>
    
    * retract v1.28.0
    
    * update v1.28.0 changelog and add v1.28.1
    
    * Update CHANGELOG.md
    
    * wip - update f3
    
    * don't convert bigint type
    
    We now use the same one in GPBFT.
    
    * update docs
    
    * fix wrong param name
    
    * update butterfy assets
    
    * update go-f3
    
    * update changelog
    
    * update version
    
    * fix typo
    
    * Update CHANGELOG.md
    
    Co-authored-by: Steven Allen <[email protected]>
    
    * Update CHANGELOG.md
    
    Co-authored-by: Rod Vagg <[email protected]>
    
    * Update CHANGELOG.md
    
    Co-authored-by: Rod Vagg <[email protected]>
    
    * apply f3 patch
    
    * chore: bump versions and make gen/docsgen-cli
    
    chore: bump versions and make gen/docsgen-cli
    
    * chore: update v1.28.2 changelog
    
    chore: update v1.282. changelog
    
    * feat: f3: update go-f3 to 0.2.0 (#12390)
    
    * Update go-f3 to 0.2.0
    
    Includes:
     - fix for excessive bandwidth usage
     - significant performance improvements
     - minor consensus fixes
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    
    * add changelog
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    
    * chore(f3): update to final released version
    
    ---------
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    Co-authored-by: Steven Allen <[email protected]>
    
    * fix!: sealer: handle initialisation error without panic
    
    storage/pipeline.NewPreCommitBatcher and storage/pipeline.New now have an additional
    error return to deal with errors arising from fetching the sealing config.
    
    * add breaking API upgrade warning to the ChangeLog
    
    * NewCommitBatcher now has an additional
    error return to deal with errors arising from fetching the sealing config.
    
    * fix: miner: Fix DDO pledge math (#12341)
    
    * Power is units of Space * Time so multiply by deal duration
    
    * fix: miner: Fix DDO pledge math
    
    * appease the changelog checker
    
    * Fix gen
    
    ---------
    
    Co-authored-by: zenground0 <[email protected]>
    
    * chore: fix lint error
    
    - Updated the logging statement in `testOutOfGasError` to correctly reference `build.BlockGasLimit` instead of `buildconstants.BlockGasLimit`.
    
    * fix: update changelog to reference bandwidth issue ticket
    
    fix: update changelog to reference bandwidth issue ticket
    
    * Update CHANGELOG.md
    
    Co-authored-by: Steve Loeppky <[email protected]>
    
    * Update CHANGELOG.md
    
    * chore: make gen and make docsgen-cli
    
    Run `make gen` and `make docsgen-cli`
    
    ---------
    
    Signed-off-by: Jakub Sztandera <[email protected]>
    Co-authored-by: LexLuthr <[email protected]>
    Co-authored-by: Jakub Sztandera <[email protected]>
    Co-authored-by: Jennifer Wang <[email protected]>
    Co-authored-by: Jiaying Wang <[email protected]>
    Co-authored-by: Steven Allen <[email protected]>
    Co-authored-by: Rod Vagg <[email protected]>
    Co-authored-by: aarshkshah1992 <[email protected]>
    Co-authored-by: Łukasz Magiera <[email protected]>
    Co-authored-by: zenground0 <[email protected]>
    Co-authored-by: Steve Loeppky <[email protected]>
    11 people authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    0225c91 View commit details
    Browse the repository at this point in the history
  3. feat(libp2p): expose libp2p bandwidth metrics (#12402)

    This exposes bandwidth metrics via async callback to avoid
    allocating/reporting metrics on any hot-paths. I'm using open telemetry
    as we've already setup a bridge for F3 and opencensus is deprecated in
    favor of open telemetry (so we're going to slowly move over anyways).
    Stebalien authored Aug 19, 2024
    Configuration menu
    Copy the full SHA
    dbef5de View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. fix: error check

    qwdsds authored and magik6k committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    a5cb674 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. build: update Lotus Node version to v1.29.1-dev in master (#12409)

    * chore: update Node version
    
    chore: update Node version
    
    * chore: cleanup unreleased changelog section
    
    chore: cleanup unreleased changelog section
    rjan90 authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8518d23 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

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

Commits on Aug 28, 2024

  1. docs: updates about branches and where to target PRs (#12416)

    * docs: updates about branches and where to target PRs
    
    CONTRIBUTING.md: calling out the release flow doc earlier and more of why a contributor should read it.
    LOTUS_RELEASE_FLOW: being more precise and organized about branch strategy.
    RELEASE_ISSUE_TEMPLATE: added comment on what we expect to see when backporting from release branch to master.
    
    * Update LOTUS_RELEASE_FLOW.md
    
    Co-authored-by: Rod Vagg <[email protected]>
    
    * Update LOTUS_RELEASE_FLOW.md
    
    Co-authored-by: Rod Vagg <[email protected]>
    
    * Incorporating review feedback.  Stripped colors and made clear that we're cherry picking.
    
    * Removed one more color reference
    
    ---------
    
    Co-authored-by: Rod Vagg <[email protected]>
    BigLep and rvagg authored Aug 28, 2024
    Configuration menu
    Copy the full SHA
    4a4ddaa View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    8f4299e View commit details
    Browse the repository at this point in the history
  2. merge

    snissn committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    5ccbb3c View commit details
    Browse the repository at this point in the history