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 bug in FunctionRuntimeManager involving not cleaning up old invalid assignments #2223

Merged
merged 1 commit into from
Jul 25, 2018

Conversation

jerrypeng
Copy link
Contributor

Motivation

Old invalid assignments of functions are not cleaned up and left over after a function is rescheduled.

Getting the status of functions rely on assignments to route the get status to the correct worker running the function. If the assignments are not correct, get status requests will be routed incorrectly.

Also fixed a test that was asserting the incorrect value. The test would have caught this problem if it was asserting the correct value.

@jerrypeng jerrypeng self-assigned this Jul 24, 2018
@jerrypeng jerrypeng added the type/bug The PR fixed a bug or issue reported a bug label Jul 24, 2018
@jerrypeng
Copy link
Contributor Author

retest this please

@merlimat
Copy link
Contributor

rerun java8 tests

@sijie sijie merged commit 4d631c0 into apache:master Jul 25, 2018
sijie pushed a commit that referenced this pull request Aug 27, 2018
…id assignments (#2223)

### Motivation

Old invalid assignments of functions are not cleaned up and left over after a function is rescheduled.

Getting the status of functions rely on assignments to route the get status to the correct worker running the function.  If the assignments are not correct, get status requests will be routed incorrectly.

Also fixed  a test that was asserting the incorrect value.  The test would have caught this problem if it was asserting the correct value.
@sijie
Copy link
Member

sijie commented Aug 27, 2018

merged as c300e3e in branch-2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants