Skip to content
Snippets Groups Projects
Commit 77232dc8 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Enable load balancing to Galera nodes in Donor state"

parents fce8a8de f6e8478b
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,11 @@ Synced)
Donor)
# enabling donor only if xtrabackup configured
SST_METHOD=`get_sst_method`
[[ $SST_METHOD =~ 'xtrabackup' ]] && CMD=$ENABLE_LB || CMD=$DISABLE_LB
if [[ $SST_METHOD =~ (mariabackup|xtrabackup) ]]; then
CMD=$ENABLE_LB
else
CMD=$DISABLE_LB
fi
;;
Undefined)
# shutting down database: do nothing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment