From be5d58b397d9d182e5f1a072ff287de5f9941e53 Mon Sep 17 00:00:00 2001 From: Zhongnan Su Date: Tue, 25 May 2021 16:30:34 -0700 Subject: [PATCH] configure index settings to have default 1 replica and auto-expand upperbound 2 Signed-off-by: Zhongnan Su --- .../src/main/resources/report-definitions-settings.yml | 5 ++--- .../src/main/resources/report-instances-settings.yml | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/reports-scheduler/src/main/resources/report-definitions-settings.yml b/reports-scheduler/src/main/resources/report-definitions-settings.yml index cef9a28a..dcc3cfb4 100644 --- a/reports-scheduler/src/main/resources/report-definitions-settings.yml +++ b/reports-scheduler/src/main/resources/report-definitions-settings.yml @@ -28,6 +28,5 @@ # Settings file for the report definitions index index: - number_of_shards: "1" - auto_expand_replicas: "0-1" - number_of_replicas: "0" + number_of_shards: "1" # The data size is not expected to be big so keeping it 1 shard + auto_expand_replicas: "0-2" diff --git a/reports-scheduler/src/main/resources/report-instances-settings.yml b/reports-scheduler/src/main/resources/report-instances-settings.yml index f50fa804..6159d067 100644 --- a/reports-scheduler/src/main/resources/report-instances-settings.yml +++ b/reports-scheduler/src/main/resources/report-instances-settings.yml @@ -28,6 +28,5 @@ # Settings file for the report instances index index: - number_of_shards: "1" - auto_expand_replicas: "0-1" - number_of_replicas: "0" + number_of_shards: "1" # The data size is not expected to be big so keeping it 1 shard + auto_expand_replicas: "0-2"