betodealmeida commented on PR #32043:
URL: https://github.com/apache/superset/pull/32043#issuecomment-2624985888

   > @Vitor-Avila if these migrations are optional, why are they executed by 
default in the first place? Isn't better to just remove them from the upgrade 
script instead of create a new feature flag? If they are not optional, what 
happens when they are skipped because of the feature flag?
   
   @michael-s-molina we want to apply these migrations as soon as possible, 
because without them the data in non-default catalogs is vulnerable — users 
with access to schema `foo` in the default catalog will be able to access 
schemas with the same name in the non-default catalogs, which is probably not 
what the administrator wants.
   
   In most cases the migration is quick and painless, but of course there are 
people with huge databases where this can take considerable time. So this is a 
compromise between security and performance.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to