Skip to content

Conversation

@jerrypeng
Copy link
Contributor

Motivation

Reference to issue #2743

NPE occurs when there are assignments for workers not currently in the membership. This could happen if the worker crashed before failure detector unassigned the functions assign to it and the scheduler is triggered by other means.

Modifications

Filter out the assignments for worker not in membership.

@jerrypeng jerrypeng self-assigned this Oct 8, 2018
@jerrypeng jerrypeng added area/function type/bug The PR fixed a bug or issue reported a bug labels Oct 8, 2018
@jerrypeng jerrypeng added this to the 2.2.1 milestone Oct 8, 2018
@sijie sijie modified the milestones: 2.2.1, 2.2.0 Oct 8, 2018
@sijie sijie merged commit 7e3203d into apache:master Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/function 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.

3 participants