Repository navigation
Fix failed sync controller blocking startup retries - #191
Sarthak-Shreshtha01 wants to merge 1 commit into
Conversation
Signed-off-by: Sarthak <sarthakshreshtha345@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @Sarthak-Shreshtha01. Thanks for your PR. I'm waiting for a kcp-dev member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Summary
The cancel function of a new sync controller was saved before the controller was started. If the start failed, the saved entry made every later retry exit early, so the controller never started. Now the entry is saved only after a successful start. I added
TestStartAndRecordfor this.What Type of PR Is This?
/kind bug
Related Issue(s)
Fixes #190
Release Notes