~shawx/mysql-mmm/agent_relay_log

Viewing all changes in revision 148.

  • Committer: shawn
  • Date: 2012-01-17 23:28:09 UTC
  • Revision ID: shawn@shiney.kraptastic.com-20120117232809-zvsrnfsq12mfzh74
Made it so, when the agent is becoming the writer, we check to see if 
the relay_log_pos is changing. If the relay_log_pos is changing that
means that you are still behind master, and it is not a good time to 
move the IP addresses over. 

This is used for busy mysql servers so that mysql can be a few seconds 
behind master, but the relay log is up to the second. This makes it so
we wait up to 30 seconds for the relay log to stop moving before moving 
the writer IP over.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: