From cfb54c3123b0b3589fefa9b803d1119c532e9f03 Mon Sep 17 00:00:00 2001 From: Luca Frosini Date: Wed, 5 Sep 2018 16:37:17 +0200 Subject: [PATCH] Updated 'default-distributed-db-config.json' tempalte to try to solve the issue which does not remove the offline servers --- orientdb/defaults/main.yml | 6 ++++-- orientdb/templates/default-distributed-db-config.json.j2 | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/orientdb/defaults/main.yml b/orientdb/defaults/main.yml index d442975a..e330fda7 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 2ea42f30..44ebb7b7 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" },