Fix snapshot physical size listing#11448
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #11448 +/- ##
============================================
- Coverage 16.17% 16.17% -0.01%
Complexity 13284 13284
============================================
Files 5656 5656
Lines 497990 497995 +5
Branches 60399 60400 +1
============================================
Hits 80529 80529
- Misses 408499 408504 +5
Partials 8962 8962
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@blueorangutan package |
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✖️ el8 ✖️ el9 ✔️ debian ✖️ suse15. SL-JID 14628 |
|
@blueorangutan package |
|
@sureshanaparti a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14633 |



Description
This PR fixes the snapshot physical size listing. Since #7873, the snapshot physical size has only been fetched from the secondary storage. This has two issues:
This PR fixes this behavior. Fixes #11442
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Using KVM, created two volume snapshots, one on secondary storage and one on primary storage. Verified that in version 4.20.1 both returned 0 for physical size. After applying this patch, both return what is stored in the DB for their respective physical sizes.