Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion addons/recovery/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ onAfterScaleOut[sqldb]: generate-share-keys

onAfterRedeployContainer[sqldb]: generate-share-keys
onBeforeStop: eventDiagnostic
onBeforeSetCloudletCount: eventDiagnostic

onAfterClone:
install: ${baseUrl}/manifest.yml?_r=${fn.random}
Expand Down
7 changes: 0 additions & 7 deletions addons/recovery/scripts/db-recovery.sh
Original file line number Diff line number Diff line change
Expand Up @@ -647,13 +647,6 @@ nodeDiagnostic(){
}
log "[Node: localhost]: Detected node type: ${node_type}...done"

service_status=$(checkMysqlServiceStatus 'localhost')

if [[ "${service_status}" == "down" ]]; then
stopMysqlService "localhost"
startMysqlService "localhost"
fi

service_status=$(checkMysqlServiceStatus 'localhost') || {
diagnosticResponse "$result" "$node_type" "$service_status" "$status" "$galera_size_status" "$galera_myisam" "$error"
return ${SUCCESS_CODE};
Expand Down