I could reproduce almost similar, but the original Db recovered when I 
turned off the 2nd instance: 


   - I set a db and activated Hazelcast.
   - I set ./config/default-distributed-db-config.json like: 
   
  "executionMode": "*asynchronous*",

   - I launched a 2nd instance in other machine. With same settings.
   - I launched 1st instance. All good.
   - I launched 2nd instance. Good too.
   - I created a database using Studio UI in the 2nd instance with the same 
   name than the 1st instance.
   
Expected:
Database replicated in 2nd instance.

Current: 

   - Both instances frozen/locked.
   - UI is still functional, but any request to OrientDb server is locked.
   - I had to restart 1 instance to recover it.


Tested with OrientDb 2.1.15

I will create a ticket with the content of this post.

Pablo



On Tuesday, April 12, 2016 at 4:53:21 AM UTC-7, Turbo Fredriksson wrote:
>
> Even bigger problem: If I then shutdown all other nodes, and restart the 
> master, it won't come up either!
>
> com.orientechnologies.orient.server.distributed.ODistributedException: 
> Error on creating cluster 'hasfieldset_orientdb-i-346e11bc' in class 
> 'HasFieldset'
>         at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installLocalClusterPerClass(OHazelcastPlugin.java:1663)
>         at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installDbClustersForLocalNode(OHazelcastPlugin.java:1313)
>         at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.loadDistributedDatabases(OHazelcastPlugin.java:1457)
>         at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:177)
>         at 
> com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:993)
>         at 
> com.orientechnologies.orient.server.OServer.activate(OServer.java:336)
>         at 
> com.orientechnologies.orient.server.OServerMain.main(OServerMain.java:41)
> Caused by: 
> com.orientechnologies.orient.server.distributed.ODistributedException: 
> Quorum cannot be reached because there are no nodes available
>         at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.calculateQuorum(OHazelcastDistributedDatabase.java:417)
>         at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastDistributedDatabase.send2Nodes(OHazelcastDistributedDatabase.java:121)
>         at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.sendRequest(OHazelcastPlugin.java:358)
>         at 
> com.orientechnologies.orient.server.distributed.ODistributedStorage.command(ODistributedStorage.java:326)
>         at 
> com.orientechnologies.orient.server.distributed.ODistributedStorage.addCluster(ODistributedStorage.java:1333)
>         at 
> com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.addCluster(ODatabaseDocumentTx.java:1291)
>         at 
> com.orientechnologies.orient.core.metadata.schema.OClassImpl.createClusterIfNeeded(OClassImpl.java:2172)
>         at 
> com.orientechnologies.orient.core.metadata.schema.OClassImpl.addCluster(OClassImpl.java:1081)
>         at 
> com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.installLocalClusterPerClass(OHazelcastPlugin.java:1656)
>         ... 6 more
>
> 2016-04-12 11:49:53:989 WARNI Distributed server is not yet ONLINE 
> (status=STARTING), reject incoming connection from /127.0.0.1:36167. If 
> you are trying to shutdown the server, please kill the process 
> [OServerNetworkListener]
> 2016-04-12 11:49:54:090 WARNI Distributed server is not yet ONLINE 
> (status=STARTING), reject incoming connection from /127.0.0.1:36168. If 
> you are trying to shutdown the server, please kill the process 
> [OServerNetworkListener]
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to