-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix retries #2241
Fix retries #2241
Conversation
I wasn't expecting to get reviewers assigned after opening as draft. This isn't ready for review yet. |
a1b6431
to
bc13f30
Compare
6a5eb85
to
a5ed2e5
Compare
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
f80259c
to
2c64edb
Compare
Thanks for the tag. Sorry have been busy with work but will review this tonight. |
@ChenYi015 can we review this PR and create a new release if it looks good? @jacobsalway I'm happy to help with contributions |
Signed-off-by: Thomas Newton <[email protected]>
Co-authored-by: Yi Chen <[email protected]> Signed-off-by: Thomas Newton <[email protected]>
Co-authored-by: Yi Chen <[email protected]> Signed-off-by: Thomas Newton <[email protected]>
Signed-off-by: Thomas Newton <[email protected]>
d45bf69
to
223687f
Compare
Signed-off-by: Thomas Newton <[email protected]>
cf1e2cc
to
f0dc727
Compare
Signed-off-by: Thomas Newton <[email protected]>
Hey @ChenYi015, it looks like change requests were addressed, can we get another review? |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ChenYi015 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 |
/lgtm |
@josecsotomorales Have released |
Purpose of this PR
Fix retries for submission failure and application. Closes: #2237 and apparently maybe #2118 too.
Proposed changes:
isNextRetryDue
intotimeUntilNextRetryDue
so we know how to setRequeueAfter
.SparkApplication
again until 10 hours later after default Cache.SyncPeriod.bool
return fromrunSparkSubmit
and just returnerror
, because the bool argument is equivalent toerr != nil
. Also remove the related code insubmitSparkApplication
since that now seems to be out of date.submitSparkApplication
and how its called a bit to ensure that submission and execution attempt counts, logging of errors and state are updated consistently.reconcileFailedSubmissionSparkApplication
ifvalidateSparkResourceDeletion
returnsfalse
. Previously if was returningerr
set from a prior and possibly unrelated function call.Change Category
Indicate the type of change by marking the applicable boxes:
Checklist
Before submitting your PR, please review the following:
Additional Notes
I'm a golang noob