made sure to try the install from full backup in any case of delta sync failure
@@ -1046,7 +1046,18 @@ public abstract class ODistributedAbstractPlugin extends OServerPluginAbstract
}
}
} else {
- setDatabaseStatus(getLocalNodeName(), databaseName, DB_STATUS.NOT_AVAILABLE);
+ if (deploy == null || !deploy) {
+ // NO AUTO DEPLOY
+ ODistributedServerLog.debug(this, nodeName, null, DIRECTION.NONE,
+ "Skipping download of the entire database '%s' from the cluster because autoDeploy=false",
+ databaseName);
+
+ distrDatabase.setOnline();
+ distrDatabase.resume();
+ return false;
+ }
+
+ databaseInstalled = requestFullDatabase(distrDatabase, databaseName, iStartup, cfg);
}
} catch (ODatabaseIsOldException e) {
