ydb-platform / nbs

Network Block & File Store
Apache License 2.0
58 stars 22 forks source link

[bugfix] RemoveDevice request should trigger migration from all logical devices #1703

Closed sharpeye closed 3 months ago

sharpeye commented 3 months ago

RemoveDevice request should mark all logical devices on the physical device to be removed. But so far, if a logical device belongs to a NRD, RemoveDevice only marks that device and returns E_TRY_AGAIN. Moreover, a disk from one logical device may migrate to another logical device on the same physical device, which greatly increases the time to remove a physical disk.

github-actions[bot] commented 3 months ago

[!NOTE] This is an automated comment that will be appended during run.

:green_circle: linux-x86_64-relwithdebinfo: all tests PASSED for commit 8e1adc992e4ff1b33e586982d514a010ef296b4b. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3284 3283 0 0 1 0
github-actions[bot] commented 3 months ago

[!NOTE] This is an automated comment that will be appended during run.

:green_circle: linux-x86_64-relwithdebinfo: all tests PASSED for commit 8e1adc992e4ff1b33e586982d514a010ef296b4b. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3284 3283 0 0 1 0
github-actions[bot] commented 3 months ago

[!NOTE] This is an automated comment that will be appended during run.

:green_circle: linux-x86_64-relwithdebinfo: all tests PASSED for commit 49e0ca58b6097b9385d99756673fb30fcb9ce8dd. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3284 3283 0 0 1 0