Conversation
|
Note This is an automated comment that will be appended during run. 🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit dabd103.
🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit dabd103.
🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit dabd103.
|
dabd103 to
0838a21
Compare
| } | ||
| if len(zoneID) == 0 { | ||
| return t.storage.DiskDeleted(ctx, diskID, time.Now()) | ||
| } |
There was a problem hiding this comment.
Нужно продолжать удаление диска, даже если диска нет в сторадже.
В частности, таск удаления диска, отсутсвтующего в сторадже, должен отправить в NBS запрос на удаление этого диска.
Поэтому при пустой ZoneID не делаем return, а забираем зону из запроса (как мы это и делали до того, как посадили баг: https://github.com/ydb-platform/nbs/pull/4339/files#diff-1605caf3e850a302b598eb7fed17f3d13cae8a4defd1b6c2f18df892bcbf8060)
There was a problem hiding this comment.
Выделил эту правку в отдельный pr #4910
There was a problem hiding this comment.
И всё же лучше это место вернуть, как было.
…e test on concurrent overlay disk creation and deletion
…nt in the storage" This reverts commit 0473505.
d1c6e49 to
d97e0cd
Compare
|
We don't want to proceed deletion of disk when disk does not exist. So another approach is proposed, see #5539. |
|
Close in favour to #5539. |
In #4339 there was a bug. This bug leads to a leaking base disk slot and, consequenly, to hanging retire base disk task.
Scenario:
In this pr we make the following changes:
Without the fix, the improve test fails with error: