Wip standby mds

The explanation comment and the question comment make the question look like a query-in-code, not an explanation-of-code.