Appdynamics / HA-toolkit

AppDynamics Controller High Availability Toolkit
https://docs.appdynamics.com/display/PRO42/Using+the+High+Availability+(HA)+Toolkit
Apache License 2.0
13 stars 11 forks source link

Print useful message when trying to start watchdog with broken replication #107

Open ravi-biradar opened 4 years ago

ravi-biradar commented 4 years ago

When any of the slave threads are stopped on secondary and WATCHDOG_ENABLE file is present under HA directory, if we try to start the watchdog it just hangs and times out. It needs to present a useful error message on the command line in this case.

Reproduce steps: 1) touch WATCHDOG_ENABLED in HA folder 2)login to db and stop any thread. stop slave IO_THREAD; exit 3) try to start service appdcontroller start, this command just times out.