You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running a cluster of two nodes and killing one of them, then adding a vertex, the addition should be journaled, and synchronized when the other one comes back up.
Steps to reproduce the problem
Download the community edition
Follow the instructions here to set up a cluster with two nodes on the same machine (copy the directory) http://orientdb.com/docs/last/Tutorial-Working-with-distributed-graph-database.html
Start up both using dserver.bat
Connect to localhost/GratefulDeadConcert via the console (connect remote:localhost/GratefulDeadConcert username password)
Kill one node and then try adding a vertex CREATE VERTEX V SET node=2
Error message results
Error: com.orientechnologies.orient.core.exception.ODatabaseException
h rid #13:102
DB name="GratefulDeadConcerts"
DB name="GratefulDeadConcerts"
Error: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum (2) cannot be reached because it is major than available nodes (1)
I can't see the exact config files used in the example in the link above, so I may be missing something
The text was updated successfully, but these errors were encountered:
that is the expected behaviour. By default the write quorum configuration is majority (n/2 +1 ).
If you set up a cluster with 2 nodes the write quorum would be 2. If one node is down you cannot write.
See here
OrientDB Version, operating system, or hardware.
2.2.11
Operating System
Expected behavior and actual behavior
When running a cluster of two nodes and killing one of them, then adding a vertex, the addition should be journaled, and synchronized when the other one comes back up.
Steps to reproduce the problem
Download the community edition
Follow the instructions here to set up a cluster with two nodes on the same machine (copy the directory) http://orientdb.com/docs/last/Tutorial-Working-with-distributed-graph-database.html
Start up both using dserver.bat
Connect to localhost/GratefulDeadConcert via the console (connect remote:localhost/GratefulDeadConcert username password)
Kill one node and then try adding a vertex CREATE VERTEX V SET node=2
Error message results
Error: com.orientechnologies.orient.core.exception.ODatabaseException
h rid #13:102
DB name="GratefulDeadConcerts"
DB name="GratefulDeadConcerts"
Error: com.orientechnologies.orient.server.distributed.ODistributedException: Quorum (2) cannot be reached because it is major than available nodes (1)
I can't see the exact config files used in the example in the link above, so I may be missing something
The text was updated successfully, but these errors were encountered: