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

[Bug]: Delete pipeline run method can be waiting to delete a non-deletable state #852

Open
4 tasks done
tanyakoganoracle opened this issue May 16, 2024 · 0 comments
Open
4 tasks done
Assignees
Labels
bug Something isn't working wip Work in progress

Comments

@tanyakoganoracle
Copy link
Member

Oracle-ads version used

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of oracle-ads.

  • I have confirmed this bug exists on the main branch of oracle-ads.

  • I agree to follow Code of Conduct.

Description

If a CancelPipelineRun ends within a few seconds of the DeletePipelineRun beginning, it will be waiting to delete a pipeline where the state will not go to LIFECYCLE_STATE_DELETED.

How to Reproduce

If you run cancel and then delete in the row in the different processes/threads, i.e. change the state of the Pipeline run during issuing of delete command.
Also 
CancelPipelineRun.end occurs less than 3 seconds before DeletePipelineRun.begin starts, it will cause a lock. 
Result:
CreatePipelineRun.end will fail
DeletePipelineRun.end will fail

For more details, speak with my team

What was Observed

SDd

What was Expected

sdgds

Version

Paste here the output of ads.__version__
@mrDzurb mrDzurb self-assigned this May 20, 2024
@mrDzurb mrDzurb added bug Something isn't working wip Work in progress labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wip Work in progress
Projects
None yet
Development

No branches or pull requests

2 participants