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: rework data node mode options and make the default archive #9583

Merged
merged 1 commit into from Sep 28, 2023

Conversation

wwestgarth
Copy link
Contributor

@wwestgarth wwestgarth commented Sep 27, 2023

closes #9562

I've removed the --archive and --lite options in favour of a single --mode=[archive|lite|standard]. Makes things a bit cleaner.

wwestgarth@wwestgarth-macbook ~/work/vega -  (9562-make-archival-default) $ vega datanode init --help
Usage:
  datanode [OPTIONS] init <ChainID> [options]

Generate the minimal configuration required for a vega data-node to start. The Chain ID is required.

Help Options:
  -h, --help                             Show this help message

[init command options]
          --home=                        Path to the custom home for vega
      -f, --force                        Erase exiting vega configuration at the specified path
          --mode=[archive|lite|standard] Set which mode to initialise the data node with, will affect retention policies (default: archive)

@wwestgarth wwestgarth requested a review from a team as a code owner September 27, 2023 12:52
@wwestgarth wwestgarth force-pushed the 9562-make-archival-default branch 3 times, most recently from 2dcd3c3 to bceea61 Compare September 27, 2023 13:14
@wwestgarth wwestgarth force-pushed the 9562-make-archival-default branch 5 times, most recently from 2b1260b to 2724c3f Compare September 28, 2023 08:01
@ettec ettec merged commit ea73295 into develop Sep 28, 2023
14 checks passed
@ettec ettec deleted the 9562-make-archival-default branch September 28, 2023 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make archival the default for data node retention
2 participants