Bug 1920215 - Elasticsearch Operator performs unnecessary index template seeding which can impact cluster performance
Summary: Elasticsearch Operator performs unnecessary index template seeding which can ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Logging
Version: 4.6.z
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.7.0
Assignee: ewolinet
QA Contact: Anping Li
Rolfe Dlugy-Hegwer
URL:
Whiteboard: logging-exploration
Depends On:
Blocks: 1923791
TreeView+ depends on / blocked
 
Reported: 2021-01-25 19:52 UTC by ewolinet
Modified: 2021-02-24 11:22 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
[discrete] [id="openshift-logging-5-0-minimize-updates-to-rollover-index-templates"] // https://bugzilla.redhat.com/show_bug.cgi?id=1920215 === Minimize updates to rollover index templates With this enhancement, the Elasticsearch Operator only updates its rollover index templates if they have different field values. Index templates have a higher priority than indices. When the template is updated, the cluster prioritizes distributing them over the index shards, impacting performance. To minimize Elasticsearch cluster operations, the operator only updates the templates when the number of primary shards or replica shards changes from what is currently configured. (link:https://bugzilla.redhat.com/show_bug.cgi?id=1920215[*1920215*])
Clone Of:
: 1923791 (view as bug list)
Environment:
Last Closed: 2021-02-24 11:22:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift elasticsearch-operator pull 632 0 None closed Bug 1920215: LOG-1018: Updating IndexManagement to only create initial index template 2021-02-18 19:32:44 UTC
Red Hat Product Errata RHBA-2021:0652 0 None None None 2021-02-24 11:22:56 UTC

Description ewolinet 2021-01-25 19:52:14 UTC
Description of problem:
Index Templates are high priority items in the Elasticsearch cluster, and constantly updating them (even when nothing has changed) can cause the cluster to deprioritize what it is currently doing to ensure that the templates are replicated across the cluster.

Version-Release number of selected component (if applicable):
4.6.z

How reproducible:
Always

Steps to Reproduce:
1. Deploy EO
2. Create es CR with index management section (required)
3. Observe in the logs ES creating/updating the ocp-gen-* index templates constantly

Actual results:
Index Templates are always updated

Expected results:
Templates are only updated when a change is necessary

Comment 1 Anping Li 2021-02-09 08:07:40 UTC
Verified on elasticsearch-operator.5.0.0-45.

Comment 5 errata-xmlrpc 2021-02-24 11:22:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Errata Advisory for Openshift Logging 5.0.0), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2021:0652


Note You need to log in before you can comment on or make changes to this bug.