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

Sloppy "rm" behavior in replicate.sh : fix for cleanliness #108

Closed scosol closed 4 years ago

scosol commented 4 years ago

“$datadir/log” -> matches mds_topology and tries to delete it

Suggest: targeted "relay-log*." etc kinds of wildcards.

Context: line 1207:

message "inhibit running of secondary and delete mysql/innodb logfiles"
$SSH $secondary rm -f $APPD_ROOT/bin/controller.sh \
    "$innodb_logdir/ib_logfile*" \
    "$datadir/*log*" \
    $datadir/ibdata1 2>&1 | logonly
cm68 commented 4 years ago

fixed in 3.62