diff --git a/orientdb/defaults/main.yml b/orientdb/defaults/main.yml index d442975..e330fda 100644 --- a/orientdb/defaults/main.yml +++ b/orientdb/defaults/main.yml @@ -47,11 +47,13 @@ orientdb_default_settings: '' orientdb_distributed: False orientdb_distributed_autodeploy: 'true' -#orientdb_distributed_writequorum: 'majority' -orientdb_distributed_writequorum: 'all' +orientdb_distributed_writequorum: 'majority' +#orientdb_distributed_writequorum: 'all' orientdb_distributed_readquorum: 1 orientdb_distributed_readyourwrites: 'true' orientdb_distributed_executionmode: 'undefined' +orientdb_new_node_strategy: 'dynamic' + orientdb_hazelcast_group_name: orientdb orientdb_hazelcast_group_password: orientdb orientbd_hazelcast_encryption: False diff --git a/orientdb/templates/default-distributed-db-config.json.j2 b/orientdb/templates/default-distributed-db-config.json.j2 index 2ea42f3..44ebb7b 100644 --- a/orientdb/templates/default-distributed-db-config.json.j2 +++ b/orientdb/templates/default-distributed-db-config.json.j2 @@ -4,6 +4,7 @@ "writeQuorum": "{{ orientdb_distributed_writequorum }}", "executionMode": "{{ orientdb_distributed_executionmode }}", "readYourWrites": {{ orientdb_distributed_readyourwrites }}, + "newNodeStrategy": "{{ orientdb_new_node_strategy }}", "servers": { "*": "master" },