Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Conversation

@szeiger
Copy link
Contributor

@szeiger szeiger commented Aug 18, 2020

  • They have to be started with different --url arguments.

  • The local git proxy is now bound to an automatically allocated port which gets mapped to 20280 on the devbox.

  • The tray icon tooltip shows the URL so you can identify the individual devbox instances.

- They have to be started with different --url arguments.

- The local git proxy is now bound to an automatically allocated port which gets mapped to 20280 on the devbox.

- The tray icon tooltip shows the URL so you can identify the individual devbox instances.
@szeiger szeiger requested a review from iuliand-db August 18, 2020 17:05
Copy link
Contributor

@iuliand-db iuliand-db left a comment

Choose a reason for hiding this comment

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

What happens if the --urls are not different?

port: Int)
(implicit logger: FileLogger) {

// this may throw when binding if the socket is used, but for the moment we just assume there is no other
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this comment may no longer apply

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ReliableAgent has some logic to restart the server socket, in which case we still give it a non-0 port number because we need to bind to the same port which may have already been used for the tunnel.

@szeiger
Copy link
Contributor Author

szeiger commented Aug 19, 2020

If you use the same URL, it shuts down the old server and reuses the name, just as before. The mapping was already done by URL. It doesn't do anything about the running DevboxMain. It will eventually time out when the old server is gone.

@szeiger szeiger merged commit 8c26aa0 into databricks:master Aug 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants