Re: [orientdb] The value '1' is not supported for writeQuorum in distributed configuration

32 views
Skip to first unread message

Luigi Dell'Aquila

unread,
Mar 14, 2018, 4:41:19 AM3/14/18
to orient-...@googlegroups.com
Hi Maxim,

Try to just remove the quotes, I guess it's just a matter of "1" as a string vs. 1 as a number

Thanks

Luigi


2018-03-14 9:34 GMT+01:00 Maxim Nikolaev <pyz...@gmail.com>:

receive error 


com.orientechnologies.orient.server.distributed.ODistributedStartupException: Error on starting distributed plugin

        at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:312)

        at com.orientechnologies.orient.server.OServer.registerPlugins(OServer.java:1268)

        at com.orientechnologies.orient.server.OServer.activate(OServer.java:415)

        at com.orientechnologies.orient.server.OServerMain$1.run(OServerMain.java:48)

Caused by: com.orientechnologies.orient.core.exception.OConfigurationException: The value '1' is not supported for writeQuorum in distributed configuration

        at com.orientechnologies.orient.server.distributed.ODistributedConfiguration.getQuorum(ODistributedConfiguration.java:820)

        at com.orientechnologies.orient.server.distributed.ODistributedConfiguration.getWriteQuorum(ODistributedConfiguration.java:722)

        at com.orientechnologies.orient.server.distributed.impl.ODistributedOutput.formatClusterTable(ODistributedOutput.java:542)

        at com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.setDistributedConfiguration(ODistributedStorage.java:1791)

        at com.orientechnologies.orient.server.distributed.impl.ODistributedStorage.getDistributedConfiguration(ODistributedStorage.java:1772)

        at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.getDatabaseConfiguration(ODistributedAbstractPlugin.java:452)

        at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.getDatabaseConfiguration(ODistributedAbstractPlugin.java:443)

        at com.orientechnologies.orient.server.distributed.impl.ODistributedAbstractPlugin.executeInDistributedDatabaseLock(ODistributedAbstractPlugin.java:1778)

        at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.loadLocalDatabases(OHazelcastPlugin.java:761)

        at com.orientechnologies.orient.server.hazelcast.OHazelcastPlugin.startup(OHazelcastPlugin.java:257)

        ... 3 more

{

  "autoDeploy": true,

  "readQuorum": 1,

  "writeQuorum": "1",

  "executionMode": "undefined",

  "readYourWrites": true,

  "newNodeStrategy": "static",

  "servers": {

    "*": "master"

  },

  "clusters": {

    "internal": {

    },

    "public_message":{

    "servers":["wideriver"]

    },

    "reestrcompany":{

    "servers":["orientEE"]

    }

  }

}



But in documentation was wrote:


writeQuorumOn "write" operation (any write on database) this is the number of responses to be coherent before sending the response to the client. Set to 1 if you don't want this check at write time. Suggested value is N/2+1 where N is the number of replicas. In this way the quorum is reached only if the majority of nodes are coherent

--

---
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maxim Nikolaev

unread,
Mar 14, 2018, 4:42:25 AM3/14/18
to orient-...@googlegroups.com
Yes I found mistakes. Thank you!

ср, 14 мар. 2018 г. в 11:41, Luigi Dell'Aquila <luigi.de...@gmail.com>:
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--

---
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-databa...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages