Wip standby mds

Whacky pre-existing code there... I've just removed the all_spec variable now as it wasn't really needed