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

snapshot restore-from-archive streaming and filtering #13658

Merged
merged 4 commits into from
Jul 11, 2022

Commits on Jul 8, 2022

  1. stream snapshot to FSM when restoring from archive

    The `RestoreFromArchive` helper decompresses the snapshot archive to a
    temporary file before reading it into the FSM. For large snapshots
    this performs a lot of disk IO. Stream decompress the snapshot as we
    read it, without first writing to a temporary file.
    tgross committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    f7d7a13 View commit details
    Browse the repository at this point in the history
  2. add bexpr filters to the RestoreFromArchive helper.

    The operator can pass these as `-filter` arguments to `nomad operator
    snapshot state` (and other commands in the future) to include only
    desired data when reading the snapshot.
    tgross committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    bc12749 View commit details
    Browse the repository at this point in the history
  3. changelog entry

    tgross committed Jul 8, 2022
    Configuration menu
    Copy the full SHA
    5730498 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

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