yoshinorim / mha4mysql-node

Development tree of Master High Availability Manager and tools for MySQL (MHA), Node (MySQL Server) part
http://code.google.com/p/mysql-master-ha/
GNU General Public License v2.0
398 stars 198 forks source link

Added port number in workfile name #9

Closed kane3 closed 10 years ago

kane3 commented 10 years ago

I faced a problem when I use MHA in multi-instance environment as follows.

server1:3306 in app1 server1:3307 in app2

if manager for app1 and manager for app2 execute at the same time, apply_diff_relay_logs script will use a single workfile. I added port number in workfile name to solve this problem.