mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #16107
[Bug 1265629] Re: elasticsearch setup by mahara causes Elasticsearch Server status to go from green to yellow
have added patch to make the mahara elasticsearch respect the settings of the ElasticSearch Server for the shards/replicas
https://reviews.mahara.org/#/c/2865/
** Changed in: mahara
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1265629
Title:
elasticsearch setup by mahara causes Elasticsearch Server status to go
from green to yellow
Status in Mahara ePortfolio:
In Progress
Bug description:
When I have a newly installed Elasticsearch Server I can check it's
health with:
curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
and shows status as 'green'
but when I enable elasticsearch in mahara the status changes to
'yellow' and there are unassigned shards
we might need to have a setting in mahara to deal with non distributed
(localhost) elasticsearch setups where it makes more sense to have
only one shard.
In the /etc/elasticsearch/elasticsearch.yml file it says:
# Note, that for development on a local machine, with small indices, it usually
# makes sense to "disable" the distributed features:
#
# index.number_of_shards: 1
# index.number_of_replicas: 0
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1265629/+subscriptions
References