ydb-platform / nbs

Network Block Store
Apache License 2.0
50 stars 14 forks source link

blockstore-client API to suspend disk agent #1510

Closed komarevtsev-d closed 2 days ago

komarevtsev-d commented 6 days ago

Related to issue #1502

Added a new message to Disk Agent: PartiallySuspendAgent. Only used for blue-green deployment for now. It's sent from the blockstore-client and basically means "another agent will be launched soon, prepare to die".

While the Disk Agent is in this state: 1) It ignores connection loss to the DR. 2) Acquire and Release requests will be rejected, except for acquires which do not change anything. 3) If the Disk Agent is temporary, it will dump the session cache on disk.

github-actions[bot] commented 5 days ago

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

:red_circle: linux-x86_64-relwithdebinfo: some tests FAILED for commit 33bb856fd967d0f81513a011f64a716cbc58be56. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3250 3248 0 1 1 0
github-actions[bot] commented 5 days ago

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

:red_circle: linux-x86_64-relwithdebinfo: some tests FAILED for commit 4ca7bd0b51ed2c85cb1e00ec54ff1767f5a7f5ee. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3251 3249 0 1 1 0
github-actions[bot] commented 5 days ago

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

:green_circle: linux-x86_64-relwithdebinfo: all tests PASSED for commit 31399d58d2512f7bb30b4f773dddb7919dbf1cf5. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3251 3250 0 0 1 0
github-actions[bot] commented 2 days ago

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

:green_circle: linux-x86_64-relwithdebinfo: all tests PASSED for commit 28ee9023b6a996fddc7edef6fe3779864350bec6. TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3251 3250 0 0 1 0