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

Fix ambiguity in ncluster connect #87

Open
yaroslavvb opened this issue Aug 1, 2019 · 0 comments
Open

Fix ambiguity in ncluster connect #87

yaroslavvb opened this issue Aug 1, 2019 · 0 comments

Comments

@yaroslavvb
Copy link
Collaborator

Scenario 1:

10.job; 0.job
ncluster connect 0.job will connect to 10.job, user expected to connect to 0.job

Scenario 2:
0.job; 0.job
no way to connect to specific version.

Solution:

  • connect to strict prefix if there's a match
  • otherwise switch to more relaxed mode and find substring. Connect to most recent task launched unless one of the tasks is chief (0.somename)
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

No branches or pull requests

1 participant