Bug 1813373 - cache the etcd client based on the endpoints to avoid reconstruction
Summary: cache the etcd client based on the endpoints to avoid reconstruction
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Etcd Operator
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 4.5.0
Assignee: Sam Batschelet
QA Contact: ge liu
URL:
Whiteboard:
Depends On:
Blocks: 1813374
TreeView+ depends on / blocked
 
Reported: 2020-03-13 15:43 UTC by Suresh Kolichala
Modified: 2020-07-13 17:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1813374 (view as bug list)
Environment:
Last Closed: 2020-07-13 17:19:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-etcd-operator pull 238 0 None closed Bug 1813373: cache the client based on the endpoints to avoid reconstruction 2020-06-30 20:02:47 UTC
Red Hat Product Errata RHBA-2020:2409 0 None None None 2020-07-13 17:20:26 UTC

Description Suresh Kolichala 2020-03-13 15:43:18 UTC
Description of problem:
May reduce log noise too while improving the performance.

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


How reproducible:


Steps to Reproduce:
1. Install cluster
2. Watch the cluster-etcd-operator logs
3.

Actual results:
A lot of periodic construction of etcd client.

Expected results:
Reuse etcd client object if endpoints haven't changed.

Additional info:

Comment 2 ge liu 2020-03-17 03:39:33 UTC
Verified with 4.5.0-0.nightly-2020-03-15-220309, we checked the code have been merged, and run some regression test without errr.

Comment 6 errata-xmlrpc 2020-07-13 17:19:58 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, 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-2020:2409


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