add quorum in error message for not enough nodes online
@@ -403,7 +403,7 @@ public class ODatabaseDocumentDistributed extends ODatabaseDocumentEmbedded {
if (quorum > availableNodes) {
Set<String> online = dManager.getAvailableNodeNames(getName());
throw new ODistributedException(
- "No enough nodes online to execute the operation, available nodes: " + online);
+ String.format("No enough nodes online to execute the operation, available nodes:%s quorun:%s", online, quorum));
}
txManager.commit(this, iTx, clusters);
