We’re sometime having trouble when Atlas’s scaling triggers at the same time as our (too) long maintenance scripts.
We often manually disable the scaling before our planned maintenance, but it’s not perfect as sometime it takes many hours to scale.
We’d like to add a security to prevents scripts from running if the database is currently scaling. Is there a way to know this information from the client code (nodejs-mongoose in this case, but it shouldn’t matter)? Somewhere revelant inside the ServerStatus informations maybe?