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

Return empty snapshot ID if any fatal error happened during the snapshot creation #2174

Merged
merged 6 commits into from
Jul 13, 2023

Conversation

TimonOmsk
Copy link
Contributor

Change Overview

Small update to not to return partially created snapshots in case if any fatal error happened during the snapshot creation.
We cannot rely on a partial created snapshot.

Pull request type

Please check the type of change your PR introduces:

  • 🌻 Feature

Test Plan

  • ⚡ Unit test

@github-actions
Copy link
Contributor

Thanks for submitting this pull request 🎉. The team will review it soon and get back to you.

If you haven't already, please take a moment to review our project contributing guideline and Code of Conduct document.

Copy link
Contributor

@e-sumin e-sumin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Kanister automation moved this from In Progress to Reviewer approved Jul 13, 2023
Copy link
Contributor

@Shrekster Shrekster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@pavannd1 pavannd1 added the kueue label Jul 13, 2023
@mergify mergify bot merged commit dccf6e7 into master Jul 13, 2023
14 checks passed
Kanister automation moved this from Reviewer approved to Done Jul 13, 2023
@mergify mergify bot deleted the keu/dgolushko/fail_if_error_kopia_snapshot_create branch July 13, 2023 18:43
mellon-collie pushed a commit that referenced this pull request Jul 20, 2023
…hot creation (#2174)

* Return empty snapshot in case if any fatal error happened during the snapshot creation

* Unit for numFailed field

* Print output to error

* Return empty snapshot id

* [nit] error message change

---------

Co-authored-by: Pavan Navarathna <6504783+pavannd1@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

4 participants