Medium: RA: mysql: be aware of lagging slaves
Medium: RA: mysql: be aware of lagging slaves

Introduce a parameter to drop slaves from the cluster if their lag
behind the master exceeds a threshold, and another to set that
threshold.

Also, use that maximum lag as the maximum master preference available
in the cluster, and work out each instance's master preference in
master/slave setups based on that maximum preference, minus the number
of seconds each slave is behind the master.

--HG--
branch : mysql-ms-2

stevenraspudic/resource-agents,stevenraspudic/resource-agents,stevenraspudic/resource-agents,asp24/resource-agents,asp24/resource-agents,asp24/resource-agents