Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Conversation

@thetechnick
Copy link
Contributor

Extensive e2e tests revealed that catalogd might run into leader election timeouts during cluster bootstrap, causing sporadic alerts being generated.

This commit uses recommended settings for leaderelection:

LeaseDuration: 15s -> 137s
RenewDeadline: 10s -> 107s
RetryPeriod:    2s ->  26s

Warning:
This will increase potential down-time of catalogd to 163s in the worst case (up from 17s). (LeaseDuration + RetryPeriod)

Extensive e2e tests revealed that catalogd might run into leader
election timeouts during cluster bootstrap, causing sporadic alerts
being generated.

This commit uses recommended settings for leaderelection
LeaseDuration: 15s -> 137s
RenewDeadline: 10s -> 107s
RetryPeriod:    2s ->  26s

Warning: This will increase potential down-time of catalogd to 163s in
the worst case (up from 17s). (LeaseDuration + RetryPeriod)
@thetechnick thetechnick requested a review from a team as a code owner January 29, 2025 14:55
@codecov
Copy link

codecov bot commented Jan 29, 2025

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 37.02%. Comparing base (19d74c8) to head (0c1a167).

Files with missing lines Patch % Lines
cmd/manager/main.go 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #519      +/-   ##
==========================================
- Coverage   37.20%   37.02%   -0.18%     
==========================================
  Files          15       15              
  Lines        1258     1264       +6     
==========================================
  Hits          468      468              
- Misses        740      746       +6     
  Partials       50       50              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@camilamacedo86
Copy link
Contributor

camilamacedo86 commented Jan 29, 2025

Hi @thetechnick,

We are no longer doing changes in this repo. It is deprecated, see the readme: https://github.com/operator-framework/catalogd
We will archive it soon.

For upstream, these changes need to be done at: https://github.com/operator-framework/operator-controller/blob/main/catalogd/cmd/catalogd/main.go at the same PR that we have already: operator-framework/operator-controller#1663

For downstream:

@camilamacedo86
Copy link
Contributor

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants