File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
addons/promote-new-primary-wo-proxy/scripts Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ function promoteNewPrimary() {
44 let ROOT = "root" ;
55 let PROXY = "proxy" ;
66 let SQLDB = "sqldb" ;
7- let PRIMARY = "rimary " ;
7+ let PRIMARY = "Primary " ;
88 let SECONDARY = "secondary" ;
99 let FAILED = "failed" ;
1010 let Response = com . hivext . api . Response ;
@@ -415,7 +415,10 @@ function promoteNewPrimary() {
415415
416416 this . log ( "restoreNodes: getNewPrimaryNode resp->" + newPrimary ) ;
417417
418- let command = "/bash /tmp/db_recovery.sh --scenario restore_secondary_from_primary --donor-ip " + newPrimary . address ;
418+ let command = "bash /tmp/db_recovery.sh --scenario restore_secondary_from_primary --donor-ip " + newPrimary . address ;
419+
420+ this . log ( "restoreNodes: command resp->" + command ) ;
421+
419422 for ( let i = 0 , n = nodes . length ; i < n ; i ++ ) {
420423 if ( nodes [ i ] . id != newPrimary . id && nodes [ i ] . type == SECONDARY ) {
421424 let resp = this . cmdById ( nodes [ i ] . id , command ) ;
You can’t perform that action at this time.
0 commit comments