-
Notifications
You must be signed in to change notification settings - Fork 698
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
Revisit Pdb calls during the reconciles while job is completed #824
Comments
It's fine to continuously invoke reconcileTFJob while the job is running even with no updates, but I think it's better to @gaocegege @johnugeorge @jlewi @ScorpioCPH , your opinion ? |
SGTM. I think we definitely should do it. While it is not in high priority since the performance is not the primary goal in this release. @jian-he Are you facing some problems with the performance? |
I agree once a TFJob reaches a terminal state we no longer need to call reconcile periodically; but how would we implement that? We rely on the informer to periodically generate update events for all TFJobs to ensure reconcile gets called periodically. |
hmm, I guess we can have a cache to store that whether the job is already completed and reconciled once. Then next time, it can skip the reconcilation. |
This should be fixed in #1012 |
@johnugeorge: Closing this issue. In response to this:
Instructions 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/test-infra repository. |
Since, the reconcileTFJob is continuously invoked, this DeletePdb code will be continuously invoked even when job is completed.
That will cause the following FailedDeletePdb/SuccessfulDeletePdb events continuously get generated after job completes.
The text was updated successfully, but these errors were encountered: