BryanMLima commented on code in PR #7229: URL: https://github.com/apache/cloudstack/pull/7229#discussion_r1123127416
########## engine/schema/src/main/resources/META-INF/db/schema-41720to41800.sql: ########## @@ -1574,3 +1574,12 @@ CREATE VIEW `cloud`.`user_view` AS -- Remove snapshot references if primary storage pool has been removed, see github issue #7093 DELETE FROM `cloud`.`snapshot_store_ref` WHERE store_role = "Primary" AND store_id IN (SELECT id FROM storage_pool WHERE removed IS NOT NULL); + + +-- Change usage of VM_DISK_IO_WRITE to use right usage_type +UPDATE + `cloud_usage`.`cloud_usage` +SET + usage_type = 22 +WHERE + usage_type = 24 AND usage_display like '% io write'; Review Comment: As the milestone changed to version `4.18.1.0` this needs to be changed to the correct schema file. -- 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]
