Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Problem while executing queries against distributed database with 2.1.7 version #5470
Hi, we are trying to setup orientdb cluster with (3 nodes) running on Docker containers , on three different VM(multi-host orientdb cluster with docker, with one container per VM).
Orientdb Version: 2.1.7
We are using HAPROXY as a load balancer, where we have configured the three orientdb nodes.
We get the following error while executing queries against database.
As per documentation provided on orientdb site we need to set property of ODatabaseDocumentTx object:
currently in our code we have not done this configuration.
2015-12-15 10:46:16:785 INFO [node1450176340446]--[node1450176348454] update configuration db=Test1 [OHazelcastPlugin]
2015-12-15 10:46:16:800 INFO [node1450176335911] Saving distributed configuration file for database 'Test1' to: /orientdb/databases/Test1/distributed-config.json [OHazelcastPlugin]
2015-12-15 10:46:22:250 INFO [node1450176348454] Saving distributed configuration file for database 'Test1' to: /orientdb/databases/Test1/distributed-config.json [OHazelcastPlugin]com.orientechnologies.orient.server.distributed.ODistributedException: Error on execution distributed COMMAND
When we try to add any new record we got following stacktrace in any one of the node out of three:
2015-12-15 10:51:08:246 WARNI Error on creating cluster on distributed nodes: ids are different (local=13 and remote=25). Retrying 0/10... [ODistributedStorage]
hi Luigi ,
Even after keeping "hotAlignment=false" I get same error.
And one more error occurs , in one of the nodes, when i start all three nodes and try to create DB. But this error does not seem to block further operations on the DB.