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

Retry jobs are not sequential #467

Open
anthony3444 opened this issue Jul 25, 2019 · 1 comment
Open

Retry jobs are not sequential #467

anthony3444 opened this issue Jul 25, 2019 · 1 comment

Comments

@anthony3444
Copy link

Hi guys!

I have a sequential job which runs perfectly when the network is success or when the network is down (after turn on all the requests are send in the correct order). Perfect for that.

Unfortunately, when the server returns 500 for example, I do a retry for this request. But If there is a new request (in this same job, so with the same tag group), then this second can be send BEFORE the previous (which is on error, but yet in the retry process).

Is it possible to be sure, all the requests (for this job), will be send sequentially?

Ex that I want (ex: with 3 retries):
Request #1 > Error 500, so retry again
Request #1 > Error 500, so retry again
Request #2 > stack it before the maximum retry of the previous request is not attempt
Request #1 > Error 500, so retry again
Request #2> Send it now !

Currently, I have:
Request #1 > Error 500, so retry again
Request #1 > Error 500, so retry again
Request #2 > Send directly...
Request #1 > Error 500, so retry again

Thanks by advance guys!

@markini
Copy link

markini commented Jan 30, 2020

Are you sure that you don't backoff #1?

Then this answer would apply: #274 (comment)

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

No branches or pull requests

2 participants