Skip to content

[12.0] Fix cursor already closed error on retryable errors - #442

Closed
guewen wants to merge 1 commit into
OCA:12.0from
guewen:12.0-fix-cursor-closed-on-postpone
Closed

[12.0] Fix cursor already closed error on retryable errors#442
guewen wants to merge 1 commit into
OCA:12.0from
guewen:12.0-fix-cursor-closed-on-postpone

Conversation

@guewen

Copy link
Copy Markdown
Member

Backport #441

When a job is postponed because of a retryable error, as the error
is not re-raised, we reach the new method
self._enqueue_dependent_jobs(env, job)
With a closed cursor. Return early in case of postponing, as there is
no chance dependent jobs can become pending anyway.
@guewenguewen added the bug label Jun 21, 2022
@github-actions

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actionsgithub-actionsBot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Oct 23, 2022
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugstalePR/Issue without recent activity, it'll be soon closed automatically.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@guewen@sebalix