Bug 1885667
| Summary: | Performance tweaking for Elasticsearch | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
| Component: | Logging | Assignee: | ewolinet |
| Status: | CLOSED ERRATA | QA Contact: | Mike Fiedler <mifiedle> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.3.z | CC: | aos-bugs, ewolinet, jcantril, jolee, mifiedle, periklis, rbolling, stwalter |
| Target Milestone: | --- | ||
| Target Release: | 4.6.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | logging-exploration | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Elasticsearch Operator would set the primary shard count equal to the number of data nodes in the cluster.
Consequence: This caused very high sharding for large clusters and resulted in excessive synchronization of the cluster state across nodes leading to poor performance.
Fix: The Elasticsearch Operator now sets the upper bounds of primary shards for an index at 5.
Result: No matter how many data nodes are in the Elasticsearch cluster, EO will limit the number of primary shards for an index to 5 for better performance.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-01-25 20:21:05 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1883444 | ||
| Bug Blocks: | |||
|
Comment 1
Jeff Cantrill
2020-10-07 13:11:42 UTC
Setting UpcomingSprint as unable to resolve before EOD Using elasticsearch operator 4.6.0-202011051050.p0 and clusterlogging operator 4.6.0-202011041933.p0 I see the same issue as in https://bugzilla.redhat.com/show_bug.cgi?id=1883444#c23 and https://bugzilla.redhat.com/show_bug.cgi?id=1883444#c24 Initially the infra and app indices have 7 primary replicas on a 7 node ES cluster. When the subsequent (e.g. infra-000002 and app-000002 ) indices are created, they have 5 primary replicas. Is it ok that the initial indices have n="number of ES nodes" replicas and subsequent indices are capped at 5? Opened https://github.com/openshift/elasticsearch-operator/pull/575 to address comment 5 Verified on logging/ES 4.6.0-202101162152.p0 No more than 5 primary replicas created regardless of ES cluster size. 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 (OpenShift Container Platform 4.6.13 extras update), 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:0173 |