summaryrefslogtreecommitdiff
path: root/same/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'same/src/main/java')
-rw-r--r--same/src/main/java/com/orbekk/same/Client.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/same/src/main/java/com/orbekk/same/Client.java b/same/src/main/java/com/orbekk/same/Client.java
index ceacd12..1a9fb7f 100644
--- a/same/src/main/java/com/orbekk/same/Client.java
+++ b/same/src/main/java/com/orbekk/same/Client.java
@@ -72,6 +72,7 @@ public class Client implements DiscoveryListener {
String e_ = throwableToString(e);
op.complete(DelayedOperation.Status.createError(
"Error contacting master. Update fails: " + e_));
+ startMasterElection();
}
return op;
}