When recovering the active server, the session does not connect to the active server

If a perspective session is connected to the active node and a failure occurs, it is automatically connected to the backup node. However, the active node is recovered and the gateway automatically returns to the active node, but the session does not return to the active node.
What settings should I look at?