JoaoJandre commented on code in PR #8737: URL: https://github.com/apache/cloudstack/pull/8737#discussion_r1526291432
########## engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade41900to41910.java: ########## @@ -61,6 +66,25 @@ public InputStream[] getCleanupScripts() { throw new CloudRuntimeException("Unable to find " + scriptFile); } - return new InputStream[] {script}; + return new InputStream[]{script}; + } + + private void addIndexes(Connection conn) { + DbUpgradeUtils.addIndexIfNeeded(conn, "vm_stats", "vm_id", "timestamp"); Review Comment: ```suggestion DbUpgradeUtils.addIndexIfNeeded(conn, "vm_stats", "vm_id"); ``` -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org