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: import snapshots without header file present #89

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

zeapoz
Copy link
Member

@zeapoz zeapoz commented Apr 16, 2024

  • Enables importing snapshot without reliance on a header file. If a snapshot header file is not found within the specified snapshot folder, the importer will instead try to generate one using the filenames of the other contents as a base.
  • Adjusts the importing process to extend the tree each chunk instead of after all have been collected. This alleviates an issues wherein trying to recover from large snapshots could trigger warning signals to the shell and be sent SIGKILL forcefully as a result.

If a snapshot header file is not found within the specified snapshot
folder, the importer will instead try to generate one using the
filenames of the other contents as a base.
@zeapoz zeapoz requested a review from vbar April 16, 2024 16:53
@zeapoz zeapoz self-assigned this Apr 16, 2024
src/processor/snapshot/importer.rs Outdated Show resolved Hide resolved
@zeapoz zeapoz requested a review from vbar April 18, 2024 14:39
@zeapoz zeapoz merged commit 1ced432 into main Apr 22, 2024
4 checks passed
@zeapoz zeapoz deleted the feat/snapshot-import-without-header branch April 22, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants