We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 867f2e8 + f39a25d commit dd30153Copy full SHA for dd30153
addons/promote-new-primary/scripts/promote-master.js
@@ -69,11 +69,11 @@ function promoteNewPrimary() {
69
resp = this.restoreNodes();
70
if (resp.result != 0) return resp;
71
72
- resp = this.addNode();
73
- if (resp.result != 0) return resp;
74
-
75
resp = this.removeFailedPrimary();
76
+
+ resp = this.addNode();
+ if (resp.result != 0) return resp;
77
78
if (!this.getAddOnType()) {
79
resp = this.addIteration(true);
0 commit comments