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.
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.