Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow skipping leader election #257

Merged

Conversation

joelddiaz
Copy link
Contributor

When hard-stopping a debugging session, the leader election cleanup doesn't get to run. Provide a way to skip all the leader election startup to speed up the development loop.

@joelddiaz
Copy link
Contributor Author

/assign @dgoodwin
/cc @akhil-rane

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 7, 2020
@dgoodwin
Copy link
Contributor

dgoodwin commented Oct 7, 2020

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 7, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dgoodwin, joelddiaz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@twiest twiest removed their request for review October 7, 2020 13:56
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

Copy link
Contributor

@akhil-rane akhil-rane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a doc update for this in Developer Instructions?

@joelddiaz
Copy link
Contributor Author

Do we need a doc update for this in Developer Instructions?

The docs don't really address running with a debugger (which is the only reason I find this to be useful)... As long as CCO is shut down properly there shouldn't be any unnecessary waiting for leader elections, right?

@akhil-rane
Copy link
Contributor

Do we need a doc update for this in Developer Instructions?

The docs don't really address running with a debugger (which is the only reason I find this to be useful)... As long as CCO is shut down properly there shouldn't be any unnecessary waiting for leader elections, right?

Yes, if CCO is shutdown properly there is no waiting :)

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot openshift-merge-robot merged commit d8ec8b3 into openshift:master Oct 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants