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

[PORT #6366] set default PoolRouter SupervisorStrategy to Restart #6370

Merged
merged 3 commits into from
Jan 30, 2023

Conversation

Arkatufus
Copy link
Contributor

Port of #6366

(cherry-picked from ffd9a9e)

… Restart (akkadotnet#6366)

* close akkadotnet#6295 - set default PoolRouter SupervisorStrategy to Restart
* use the `SupervisionStrategy.DefaultStrategy`
* Fix unit test
* Change unit test to use RoundRobinPool router

(cherry-picked from ffd9a9e)
@Aaronontheweb Aaronontheweb added this to the 1.5.0 milestone Jan 27, 2023
@Aaronontheweb Aaronontheweb enabled auto-merge (squash) January 27, 2023 00:09
@Aaronontheweb
Copy link
Member

Ty!

@@ -296,7 +295,7 @@ public async Task ActorTelemetry_must_be_accurate_for_pool_router()
var telemetry = await subscriber.Ask<TelemetrySubscriber.GetTelemetry>(TelemetrySubscriber.GetTelemetryRequest.Instance);
// assert that actor start count is still 10
Assert.Equal(12, telemetry.ActorCreated);
Assert.Equal(110, telemetry.ActorRestarted);
Assert.Equal(10, telemetry.ActorRestarted);
Copy link
Member

Choose a reason for hiding this comment

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

We will also need to backport this to v1.4 as well

Copy link
Contributor Author

@Arkatufus Arkatufus Jan 30, 2023

Choose a reason for hiding this comment

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

I wonder why we didn't caught this in the original PR, I guess we missed it amongst the racy unit test noise?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added the unit test fix in #6376

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pool routers use Directive.Escalate by default when supervising routees - this causes unintended consequences
2 participants