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

Update version check logic on the worker #718

Merged
merged 5 commits into from
Oct 9, 2020

Conversation

imback82
Copy link
Contributor

@imback82 imback82 commented Oct 8, 2020

From 1.0.0, we enforce semantic versioning, meaning the worker will be compatible only within the same major version.

This PR changes the behavior of the version checking logic on the worker, following the semantic versioning.

@imback82 imback82 requested a review from suhsteve October 8, 2020 16:11
@imback82 imback82 self-assigned this Oct 8, 2020
@imback82 imback82 added the enhancement New feature or request label Oct 8, 2020
@imback82 imback82 added this to the 1.0.0 milestone Oct 8, 2020
// is a breaking change on the UDF contract.
internal const string CurrentVersion = "0.9.0";
// is a breaking change (major version change) on the UDF contract.
internal const string CurrentVersion = "1.0.0";
Copy link
Member

Choose a reason for hiding this comment

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

Is this version going to be tightly coupled with the Microsoft.Spark assembly version? If so then can we just get the version of Microsoft.Spark loaded in the the current AppDomain ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good point. Now that we are going with semantic versioning, we don't need this. I will rework on this after #715 is in.

Copy link
Member

@suhsteve suhsteve left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @imback82 !

@imback82 imback82 merged commit 86e3eb4 into dotnet:master Oct 9, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants