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

#1276, Refactor AsyncBatchDestroyJob to increase efficiency #1357

Conversation

Ivanov-Anton
Copy link
Collaborator

@Ivanov-Anton Ivanov-Anton commented Oct 20, 2023

Description

Update AsyncBatchDestroyJob to handle destroy failures

The AsyncBatchDestroyJob has been refactored to handle destroy failures, instead of raising errors. A warning is logged if a destroy operation fails, improving the robustness of the job. Corresponding changes have also been made to the related test cases.

Additional links

closes #1276

@Ivanov-Anton Ivanov-Anton self-assigned this Oct 20, 2023
@dmitry-sinina
Copy link
Contributor

@Ivanov-Anton I am not sure this is good idea. From my point of view we should not allow deletion of used numberlist.

@dmitry-sinina
Copy link
Contributor

I think we need some validation to fix #1276
May be background job should skip such objects during deletion.

@Ivanov-Anton Ivanov-Anton force-pushed the YETIWEB-1276-Bacth-actions-job-validations-for-numberlists branch from 6a39019 to 5b24d6c Compare October 20, 2023 22:23
@Ivanov-Anton Ivanov-Anton changed the title #1276, Change dependent action for customers_auth to nullify #1276, Refactor AsyncBatchDestroyJob to increase efficiency and resilience Oct 20, 2023
@Ivanov-Anton Ivanov-Anton changed the title #1276, Refactor AsyncBatchDestroyJob to increase efficiency and resilience #1276, Refactor AsyncBatchDestroyJob to increase efficiency Oct 20, 2023
@Ivanov-Anton Ivanov-Anton marked this pull request as draft October 25, 2023 11:43
@Ivanov-Anton Ivanov-Anton force-pushed the YETIWEB-1276-Bacth-actions-job-validations-for-numberlists branch 3 times, most recently from 5811ca6 to 20321fa Compare July 18, 2024 07:31
The AsyncBatchDestroyJob has been refactored to handle destroy failures, instead of raising errors. A warning is logged if a destroy operation fails, improving the robustness of the job. Corresponding changes have also been made to the related test cases.
@Ivanov-Anton Ivanov-Anton marked this pull request as ready for review July 18, 2024 10:25
@Ivanov-Anton Ivanov-Anton added the Waiting for code review It means that the owner or member of the repositor can do a code review. label Jul 18, 2024
@Ivanov-Anton Ivanov-Anton force-pushed the YETIWEB-1276-Bacth-actions-job-validations-for-numberlists branch from 20321fa to c91703c Compare August 1, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Waiting for code review It means that the owner or member of the repositor can do a code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bacth actions job validations for numberlists
2 participants