core icon indicating copy to clipboard operation
core copied to clipboard

Elasticsearch: index replicas set incorrectly and index health broken with no license

Open chrismccracken opened this issue 8 years ago • 4 comments

On a clean startup with no license (community edition), the index replicas are set incorrectly to "1" (should be zero for a single cms node), and the index health does not work (returns error when you click on it).

https://imgur.com/a/QWBBg

chrismccracken avatar Mar 12 '18 20:03 chrismccracken

@chrismccracken did you check that AUTOWIRE_CLUSTER_ES=true ? and AUTOWIRE_MANAGE_ES_REPLICAS is either true or commented out (defaults to true)?

dsilvam avatar Mar 15 '18 14:03 dsilvam

Will be solved in: https://github.com/dotCMS/core/issues/13900

dsilvam avatar Mar 20 '18 16:03 dsilvam

This PR fixes the error when clicking on the index health: https://github.com/dotCMS/core/pull/13922

nollymar avatar Mar 21 '18 16:03 nollymar

Passed QA Using community edition(no license) on a clean startup, index replicas are set to "0" for a single cms node and index health shows appropriate data when clicking on it. image

Tested on Mac OS 10.10 / Postgres 9.6.6 / Chrome v64.0.3282.167 / Tomcat 8 / Java 8.6

shaydotcms avatar Mar 24 '18 05:03 shaydotcms