user_grant_handler introduced for T393990 applies changes on databases in alphabetical order.
To increase safety, allow it to batch the changes by section and by datacenter and by instance role (replicas first, then masters)
Description
Description
Related Objects
Related Objects
- Mentioned Here
- T393990: Deploy grants for cumin1003
Event Timeline
Comment Actions
We should always apply grants with set session sql_log_bin=0 and if creating users with IF NOT EXISTS and if dropping with: IF EXISTS