DatabaseUpdater modifies global variables and executes hooks in the constructor. This can be dangerous, see the major outage cause by T157651.
The initialization currently done in DatabaseUpdater's constructor should be done later, in doUpdates() or a separate initialization method.