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

Changes to pick largest Restore Size #1177

Merged
merged 6 commits into from
Jan 11, 2022
Merged

Changes to pick largest Restore Size #1177

merged 6 commits into from
Jan 11, 2022

Conversation

bathina2
Copy link
Contributor

@bathina2 bathina2 commented Jan 8, 2022

Change Overview

When creating a PVC from a Snapshot, if the restoreSize is specified we use it instead of the Snapshots restore size.
This leads to issues if the specified restoreSize is less than the snapshots restore size.

This change picks the greater of both and uses that to create the resulting PVC.

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • 🐛 Bugfix
  • 🌻 Feature
  • 🗺️ Documentation
  • 🤖 Test

Issues

  • #XXX

Test Plan

  • 💪 Manual
  • ⚡ Unit test
  • 💚 E2E

@bathina2 bathina2 added the kueue label Jan 10, 2022
@bathina2 bathina2 added kueue and removed kueue labels Jan 11, 2022
@mergify mergify bot merged commit 83a76a3 into master Jan 11, 2022
@mergify mergify bot deleted the K10-9226 branch January 11, 2022 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants