Improve failover controls and preserve manual switching state
This commit is contained in:
@@ -305,7 +305,7 @@ export function createFailoverService(dependencies: FailoverServiceDependencies)
|
||||
appliedServerId: target.serverId,
|
||||
appliedServerSnapshot: server,
|
||||
failoverPolicy: reason === 'manual'
|
||||
? { ...state.failoverPolicy, paused: true }
|
||||
? state.failoverPolicy
|
||||
: role === 'primary' ? { ...state.failoverPolicy, paused: false } : state.failoverPolicy,
|
||||
failoverRuntimeState: {
|
||||
...state.failoverRuntimeState,
|
||||
|
||||
Reference in New Issue
Block a user