This task is an actionable as a result of past master crashes and mistakes about its writable status, as well as split-brain scenarios due to more than one server on a replication topology being writtable.
Database masters are a single point of failure, normally if a master crashes it is restarted automatically, but it is on read_only mode until it is checked. Page when it happens (either after a crash, or after it is detected on read-only mode, or both).