Page MenuHomePhabricator

user_grant_handler: add grouping by section
Open, Needs TriagePublic

Description

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)

Related Objects

Event Timeline

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

Test sequence: test-s4, misc, backups, pc*, everything else