-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.2.10 DXP GA1, 7.2.10 DXP FP5, 7.2.10.2 DXP SP2
-
Fix Version/s: 7.2.10 DXP FP6, 7.2.10.3 DXP SP3
-
Component/s: Workflow > Metrics
-
Branch Version/s:7.2.x
-
Backported to Branch:Committed
-
Fix Priority:3
-
Git Pull Request:
Master/7.3 : Resolved as part of the Sidecar story in this change on
LPS-103577.
Solution notes
The fix effects new DXP installations only. Existing deployments where the Workflow Metrics indexes have already been created in Elasticsearch have to update the index settings manually.
Reproduction Steps:
- Start up 3 Elasticsearch 6.x nodes
- Edit
ES_HOME/config/elasticsearch.yml
cluster.name: LiferayElasticsearchCluster discovery.zen.minimum_master_nodes: 2 node.max_local_storage_nodes: 3
- Start the same Elasticsearch from 3 terminals (./bin/elasticsearch): this will create a 3-node cluster using a single installation, suitable for testing
- Edit
- Start up DXP 7.2 SP2
- Go to Control Panel -> Configuration -> System Settings -> Search -> Elasticsearch 6
- Specify all the 3 transport addresses: localhost:9300, localhost:9301, localhost:9302
- Configure it to be Remote
- Go to Control Panel -> Configuration -> Search and confirm it is not using Embedded nodes
- Reindex all Search Indexes
- Open a terminal and run
curl -X GET "localhost:9200/_cat/indices/*?v&s=index&pretty"
Expected Result: workflow-metrics indexes have at least 1 replica
Actual Result: workflow-metrics indexes have no replicas.
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size green open liferay-0 C-JVzJZXRASdPBk422Fmdg 1 0 211 0 10.1mb 10.1mb green open liferay-20101 MEN8bgtpQtqwwxFdOpXPXQ 1 0 68 0 323.6kb 323.6kb green open workflow-metrics-instances H6OX8tcwRwq1KJtC9FtwTQ 1 0 1 0 5.4kb 5.4kb green open workflow-metrics-nodes BY3DwoamT1OyrB-fE03-9g 1 0 4 0 18.5kb 18.5kb green open workflow-metrics-processes lkXk4eWORTCbnH6uOSaNMQ 1 0 1 0 49.2kb 49.2kb green open workflow-metrics-sla-process-results s7G7TBdcTbCEjNIyyFnj9Q 1 0 1 0 5.6kb 5.6kb green open workflow-metrics-sla-task-results iQ7vHhDQTxyklKqj9n5YCw 1 0 2 0 6.8kb 6.8kb green open workflow-metrics-tokens 1_Gx7jq2R7KN5XgBfwulvg 1 0 2 0 7.4kb 7.4kb
- is related to
-
LPS-113030 Allow configuration for Application-driven index settings
-
- Under Review
-
- relates
-
LPS-124700 Virtual Instance (aka. company) indexes don't create replica shards, they should be created with "index.auto_expand_replicas: 0-all" ootb
- Closed