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

CLOUDP-277700: Reduced reconcile period for externally linked resources #1854

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

helderjs
Copy link
Collaborator

@helderjs helderjs commented Oct 8, 2024

All Submissions:

  • Have you signed our CLA?
  • Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
  • Update docs/release-notes/release-notes-template.md if your changes should be included in the release notes for the next release.

Comment on lines +205 to 209
if atlasDatabaseUser.Spec.ExternalProjectRef != nil {
return workflow.Requeue(workflow.StandaloneResourceRequeuePeriod).ReconcileResult()
}

return workflow.OK().ReconcileResult()
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the only place we exit OK right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes

DefaultRetry = time.Second * 10
DefaultTimeout = time.Minute * 20
DefaultRetry = time.Second * 10
StandaloneResourceRequeuePeriod = time.Minute * 15
Copy link
Collaborator

@josvazg josvazg Oct 9, 2024

Choose a reason for hiding this comment

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

We said we would make this configurable down to 5 mins minimum. We can do it on a follow up.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TD doc says it's 15 minutes. That's why I set it as the value

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thanks for the heads up, I have fixed the TD to reiterate what was said in the scope, this should be configurable before release and 5 minutes is the minimum value allowed.

Copy link
Collaborator

@josvazg josvazg left a comment

Choose a reason for hiding this comment

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

LGTM
(I expect the CI would eventually pass)

@helderjs helderjs merged commit 6c59b78 into main Oct 9, 2024
56 checks passed
@helderjs helderjs deleted the CLOUDP-277700-requeue-time-independent-resource branch October 9, 2024 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants