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

Reconcile connection information #879

Merged
merged 2 commits into from
Nov 15, 2022

Conversation

kevin-bates
Copy link
Member

Per the side discussion between myself and @blink1073 on PR #863 that was reworking #861, this PR checks that the existing connection file (should one exist) matches the connection information returned from the provisioner and prevents overwriting the connection file in such cases (to avoid the race condition addressed via #861).

These changes also ensure that once the connection file is written (if it didn't already exist) the connection information stored in attributes of KernelManager (via the ConnectionFileMixin) also matches that returned from the provisioner (which is considered the truth).

Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

Thank you!

@blink1073 blink1073 merged commit a21dd92 into jupyter:main Nov 15, 2022
@blink1073
Copy link
Contributor

@meeseeksdev please backport to 7.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants