We're using OrientDB in a cluster with 5 nodes with the Java API libraries on top of it. Both of them are using version 2.2.8. We're experiencing a strange issue where the database runs fine for some time, then we suddenly start encountering the error below. We have only started experiencing this issue since we upgraded to 2.2 from 1.7.
I was wondering whether anyone else has experienced this issue / error before, or if anyone had any advice on what we might need to change to get a multi-node environment working.
com.orientechnologies.orient.server.distributed.ODistributedConfigurationChangedException: Local node 'aNode' is not the master for cluster 'aCluster' (it is 'anotherNode')
DB name="dbName"
DB name="dbName"
at sun.reflect.GeneratedConstructorAccessor61.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at com.orientechnologies.orient.client.binary.OChaelBinaryAsynchClient.throwSerializedException(OChaelBinaryAsynchClient.java:428)
at com.orientechnologies.orient.client.binary.OChaelBinaryAsynchClient.handleStatus(OChaelBinaryAsynchClient.java:379)
at com.orientechnologies.orient.client.binary.OChaelBinaryAsynchClient.beginResponse(OChaelBinaryAsynchClient.java:261)
at com.orientechnologies.orient.client.binary.OChaelBinaryAsynchClient.beginResponse(OChaelBinaryAsynchClient.java:153)
at com.orientechnologies.orient.client.remote.OStorageRemote.beginResponse(OStorageRemote.java:2133)
at com.orientechnologies.orient.client.remote.OStorageRemote$28.execute(OStorageRemote.java:1316)
at com.orientechnologies.orient.client.remote.OStorageRemote$28.execute(OStorageRemote.java:1289)
at com.orientechnologies.orient.client.remote.OStorageRemote$2.execute(OStorageRemote.java:198)
at com.orientechnologies.orient.client.remote.OStorageRemote.baseNetworkOperation(OStorageRemote.java:230)
at com.orientechnologies.orient.client.remote.OStorageRemote.networkOperation(OStorageRemote.java:195)
at com.orientechnologies.orient.client.remote.OStorageRemote.commit(OStorageRemote.java:1289)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.doCommit(OTransactionOptimistic.java:560)
at com.orientechnologies.orient.core.tx.OTransactionOptimistic.commit(OTransactionOptimistic.java:106)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2733)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.commit(ODatabaseDocumentTx.java:2703)
at com.tinkerpop.blueprints.impls.orient.OrientTransactionalGraph.commit(OrientTransactionalGraph.java:175)
