prashanthr2 commented on PR #14308: URL: https://github.com/apache/cloudstack/pull/14308#issuecomment-7168026139
Tested on 4.22 (KVM, NFS primary, MySQL 8), aggregation range 10 min. LGTM. | Scenario | Result | |---|---| | Single snapshot | ✅ Billed correctly, no regression | | 2 snapshots, same window (live) | ✅ Each billed from its own creation under its own ID; no chaining | | New snapshot in a later window (live) | ✅ Existing snapshots keep full windows under their own IDs; new one starts at its creation | | Multi-volume (root + data) | ✅ One series per snapshot per volume, correct sizes | | Delete newer, then older snapshot | ✅ Each delete closes only its own row; older one keeps billing until its own delete | | VM_SNAPSHOT_ON_PRIMARY (type 27) | ✅ Unaffected | Hours match (end − created) × volumes exactly for every snapshot. No overlapping or gapped records, and `processed` stays NULL on live snapshots. Note: the delete scenario was verified in a catch-up run, not live windows. cc: @harikrishna-patnala -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
