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

needRescan region job should not pass retryCount to new jobs #43682

Closed
Tracked by #43740
lance6716 opened this issue May 10, 2023 · 1 comment · Fixed by #43810
Closed
Tracked by #43740

needRescan region job should not pass retryCount to new jobs #43682

lance6716 opened this issue May 10, 2023 · 1 comment · Fixed by #43810
Assignees
Labels
affects-7.1 type/enhancement The issue or PR belongs to an enhancement.

Comments

@lance6716
Copy link
Contributor

// 1 "needRescan" job becomes len(jobs) "regionScanned" jobs.
jobWg.Add(len(jobs) - 1)
for _, j := range jobs {
j.retryCount = job.retryCount
jobOutCh <- j

In a recent import task we rely on unlimited retry number for this type of error

@lance6716 lance6716 added the type/enhancement The issue or PR belongs to an enhancement. label May 10, 2023
@lance6716 lance6716 self-assigned this May 10, 2023
@lance6716
Copy link
Contributor Author

also cc @D3Hunter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-7.1 type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant