abh1sar commented on code in PR #10485:
URL: https://github.com/apache/cloudstack/pull/10485#discussion_r2032666801


##########
engine/schema/src/main/java/com/cloud/upgrade/dao/Upgrade42010to42100.java:
##########
@@ -98,6 +100,8 @@ protected void migrateConfigurationScopeToBitmask(Connection 
conn) {
         migrateExistingConfigurationScopeValues(conn);
         DbUpgradeUtils.dropTableColumnsIfExist(conn, "configuration", 
List.of("scope"));
         DbUpgradeUtils.changeTableColumnIfNotExist(conn, "configuration", 
"new_scope", "scope", "BIGINT NOT NULL DEFAULT 0 COMMENT 'Bitmask for scope(s) 
of this parameter'");
+        ConfigurationDao dao = new ConfigurationDaoImpl();
+        dao.markForColumnsRefresh();

Review Comment:
   @shwstppr @JoaoJandre 
   sorry for the delay. I tested the above, but ComponentContext only keeps 
track of PluggableService class.
   I was not able to access ConfigurationDaoImpl any other way as well.
   Any other ideas are welcome.
   



-- 
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

Reply via email to