Cluster operations are encapsulated inside of storage. Tests failures were fixed.
@@ -393,6 +393,12 @@ public abstract class OIdentifiableIterator<REC extends OIdentifiable> implement
}
protected static void checkForSystemClusters(final ODatabaseDocumentInternal iDatabase, final int[] iClusterIds) {
+ final OStorage storage = iDatabase.getStorage();
+ //we have similar check on server's side
+ if (storage.isRemote()) {
+ return;
+ }
+
for (int clId : iClusterIds) {
if (iDatabase.getStorage().isSystemCluster(clId)) {
final OSecurityUser dbUser = iDatabase.getUser();
