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

[Disk Manager] fix delete image idempotency: do not schedule retire base disks if image was not found in database #2497

Merged
merged 10 commits into from
Nov 28, 2024

Conversation

gy2411
Copy link
Collaborator

@gy2411 gy2411 commented Nov 14, 2024

#2438

Fix for the issue.

If imageMeta.size == 0, then the image is already deleted, and there is no reason to schedule retire base disks task.

@gy2411 gy2411 added the large-tests Launch large tests for PR label Nov 14, 2024
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit 8b86643.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
6458 6457 0 1 0 0

@gy2411
Copy link
Collaborator Author

gy2411 commented Nov 15, 2024

В тестах упал service-kikimr-localdb-compaction-test -- вряд ли связано с этой правкой.

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit e08b641.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
6461 6461 0 0 0 0

@gy2411
Copy link
Collaborator Author

gy2411 commented Nov 26, 2024

issue на аналогичный рефактиринг для других типов ресурсов #2573

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit c409c9e.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
6460 6459 0 1 0 0

@gy2411 gy2411 force-pushed the users/gayurgin/dm_fix_delete_image_idempotency branch from c409c9e to b66e1d7 Compare November 26, 2024 20:05
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit b66e1d7.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
6498 6498 0 0 0 0

@BarkovBG BarkovBG merged commit e0243d9 into main Nov 28, 2024
11 checks passed
@BarkovBG BarkovBG deleted the users/gayurgin/dm_fix_delete_image_idempotency branch November 28, 2024 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
large-tests Launch large tests for PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants