Skip to content

Commit

Permalink
Set replicas to 2 so we have 3 total copies
Browse files Browse the repository at this point in the history
  • Loading branch information
ericholscher committed Nov 20, 2018
1 parent ee13ed6 commit 27e3dd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readthedocs/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,12 +352,12 @@ def USE_PROMOS(self): # noqa
'page': {
'name': 'page_index',
'settings': {
# We have 3 nodes, therefore having 3 shards and each one having 3 replica
# We have 3 nodes, therefore having 3 shards and each one having 2 replicas
# will be good fit for our infrastructure. So all the 9(3*3) shards will be
# allocated to 3 nodes. Therefore, if one nodes get failed, the data will be
# inside other nodes and Elasticsearch can serve properly.
'number_of_shards': 3,
'number_of_replicas': 3,
'number_of_replicas': 2,
"index": {
"sort.field": ["project", "version"]
}
Expand Down

0 comments on commit 27e3dd4

Please sign in to comment.