Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server connection migration implementation #739

Merged
merged 1 commit into from
Nov 29, 2019

Conversation

terencefan
Copy link
Member

@terencefan terencefan commented Nov 18, 2019

Related to #689

The migration will start on the Runtime side after the graceful shutdown process begins.

And there is nothing to do with the old server.

we simply close each connection after receiving CloseConnectionMessage.

But we have to prevent HandshakeResponse from reaching our Runtime after the client connection has been migrated to the new server since the client connection has not been really dropped by our Runtime. It would be weird if we sent HandshakeReponse to our client again.

@terencefan terencefan force-pushed the server-connection-migration-2 branch 2 times, most recently from fbeef9d to 9e66f44 Compare November 18, 2019 10:03
@terencefan terencefan changed the title [WIP] server connection migration implementation server connection migration implementation Nov 18, 2019
@terencefan terencefan requested a review from vicancy November 18, 2019 10:07
@terencefan terencefan force-pushed the server-connection-migration-2 branch from 9e66f44 to c2c6f08 Compare November 19, 2019 02:20
@terencefan terencefan force-pushed the server-connection-migration-2 branch from c2c6f08 to 139ca87 Compare November 19, 2019 07:45
@terencefan terencefan changed the title server connection migration implementation Server connection migration implementation Nov 19, 2019
@terencefan terencefan force-pushed the server-connection-migration-2 branch 4 times, most recently from bdf2ae4 to a243034 Compare November 25, 2019 09:58
@terencefan terencefan force-pushed the server-connection-migration-2 branch 4 times, most recently from 416d35b to 86bd2b4 Compare November 27, 2019 02:22
@terencefan terencefan force-pushed the server-connection-migration-2 branch 3 times, most recently from e9f4940 to 33aefc5 Compare November 28, 2019 07:04
@terencefan terencefan requested review from vicancy and vwxyzh November 28, 2019 11:24
@terencefan terencefan force-pushed the server-connection-migration-2 branch from 33aefc5 to 2c8bb2d Compare November 29, 2019 03:58
@terencefan terencefan force-pushed the server-connection-migration-2 branch from 2c8bb2d to f75408f Compare November 29, 2019 03:58
@terencefan terencefan force-pushed the server-connection-migration-2 branch 5 times, most recently from 596ae96 to 9c6bd6c Compare November 29, 2019 08:32
@terencefan terencefan force-pushed the server-connection-migration-2 branch 4 times, most recently from aadad0e to b169a16 Compare November 29, 2019 09:05
@terencefan terencefan force-pushed the server-connection-migration-2 branch from b169a16 to a70e5c7 Compare November 29, 2019 09:09
Copy link
Member

@vicancy vicancy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@terencefan terencefan merged commit 91ea570 into Azure:dev Nov 29, 2019
JialinXin pushed a commit to JialinXin/azure-signalr that referenced this pull request Dec 20, 2019
@terencefan terencefan deleted the server-connection-migration-2 branch November 8, 2022 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants