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

Stateless worker local compatibility check #5917

Merged

Conversation

JohnMorman
Copy link
Contributor

This changes the placement of stateless workers to not just blindly choose the local silo as the target. Instead we check if the local silo is compatible first, if it is then we choose it, otherwise we back off to the random logic which we previously used when the silo was shutting down.

@benjaminpetit
Copy link
Member

Thanks!

Could you add a test case for stateless worker? In the code we have sometimes some specifics code path for this type.

Look into the test class HeterogeneousTests. Ping me if you need any help

@dnfclas
Copy link

dnfclas commented Sep 3, 2019

CLA assistant check
All CLA requirements met.

@JohnMorman
Copy link
Contributor Author

Added two tests based off of the HeterogeneousTests, let me know if that is the correct place to add or if you have any other suggestions

@ReubenBond ReubenBond merged commit 3ae0256 into dotnet:master Sep 3, 2019
@ReubenBond
Copy link
Member

Thanks, @JohnMorman!

sergeybykov pushed a commit to sergeybykov/orleans that referenced this pull request Oct 9, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2023
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.

None yet

4 participants