Skip to content

Commit 27e3dd4

Browse files
committed
Set replicas to 2 so we have 3 total copies
1 parent ee13ed6 commit 27e3dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readthedocs/settings/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,12 +352,12 @@ def USE_PROMOS(self): # noqa
352352
'page': {
353353
'name': 'page_index',
354354
'settings': {
355-
# We have 3 nodes, therefore having 3 shards and each one having 3 replica
355+
# We have 3 nodes, therefore having 3 shards and each one having 2 replicas
356356
# will be good fit for our infrastructure. So all the 9(3*3) shards will be
357357
# allocated to 3 nodes. Therefore, if one nodes get failed, the data will be
358358
# inside other nodes and Elasticsearch can serve properly.
359359
'number_of_shards': 3,
360-
'number_of_replicas': 3,
360+
'number_of_replicas': 2,
361361
"index": {
362362
"sort.field": ["project", "version"]
363363
}

0 commit comments

Comments
 (0)