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(pd): support archives for migrate and join #4055

Merged
merged 1 commit into from
Mar 23, 2024

Commits on Mar 23, 2024

  1. feat(pd): support archives for migrate and join

    Enables opt-in archive generation when performing:
    
      * pd export
      * pd migrate
    
    The goal is to provide a standardized bottling-up of pd state,
    specifically the rocksdb directory. In the context of upgrades,
    the `pd migrate` functionality is what's important:
    we want the archived dir to contain both rocksdb data and the modified
    genesis file and updated validator state.
    
    Accordingly, `pd testnet join` is modified to support an optional
    archive URL. If set, the remote tar.gz archive will be downloaded
    and extracted, clobbering the cometbft config files that were fetched.
    A remote bootstrap node is still contacted, to learn about peers,
    otherwise the newly created node wouldn't be able to talk to the network.
    conorsch committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    ea77d32 View commit details
    Browse the repository at this point in the history