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
In short: Two nodes, "writeQuorum" is set to 2 (uses default settings), shuting down node one, inserting into node two. Node two reports error - buts shows inserted record. After starting up node one, inserted record is in node one.
Expected behaviour: Node two reports error on insert and does not insert nor replicates record.
OrientDb version: 1.6.4, Java 1.7.0u10.
I used a vanilla OrientDb, executing commands using Studio, settings changed prior first start:
hazelcast.xml (hard-wired two ips)
orientdb-dserver-config.xml (set nodeName)
default-distributed-db-config.json (set failureAvailableNodesLessQuorum to true)
Process:
Executed Node 1: create class Dummy insert into Dummy set name = 'First', surname = 'Aaa' (records were replicated to node 2)
Shutdown Node 1
Execute Node 2: insert into Dummy set name = 'First', surname = 'Aaa' (error com.orientechnologies.orient.server.distributed.ODistributedException: Quorum 2 not reached for request=id=177 task=record_create(Use indexes on queries [moved] #14:-1 v.0). Servers in conflicts are: no server in conflict is shown)
Starting Node 1
Record 'First/Aaa' is shown
The text was updated successfully, but these errors were encountered:
Follow up to #2131
In short: Two nodes, "writeQuorum" is set to 2 (uses default settings), shuting down node one, inserting into node two. Node two reports error - buts shows inserted record. After starting up node one, inserted record is in node one.
Expected behaviour: Node two reports error on insert and does not insert nor replicates record.
OrientDb version: 1.6.4, Java 1.7.0u10.
I used a vanilla OrientDb, executing commands using Studio, settings changed prior first start:
Process:
The text was updated successfully, but these errors were encountered: