-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4037 from Aaronontheweb/v1.3.16-rebase
V1.3.16 Release
- Loading branch information
Showing
27 changed files
with
796 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
#### 1.3.15 September 23 2019 #### | ||
#### 1.3.16 November 14 2019 #### | ||
**Maintenance Release for Akka.NET 1.3** | ||
|
||
1.3.15 consists of non-breaking bugfixes and additions that have been contributed against the [Akka.NET v1.4.0 milestone](https://github.com/akkadotnet/akka.net/milestone/17) thus far. | ||
1.3.16 consists of non-breaking bugfixes and additions that have been contributed against the [Akka.NET v1.4.0 milestone](https://github.com/akkadotnet/akka.net/milestone/17) thus far. | ||
|
||
This really only includes one major fix: [a major issue with Akka.Remote, which caused unnecessary `Quarantine` events](https://github.com/akkadotnet/akka.net/issues/3905). | ||
This patch includes some small fixes, such as: | ||
|
||
We highly recommend upgrading to this build if you're using Akka.Remote or Akka.Cluster. | ||
* [fix: NuGet symbols not published](https://github.com/akkadotnet/akka.net/pull/3966) | ||
* [Akka.Cluster.Sharding: Consolidated passivation check on settings used in region and shard](https://github.com/akkadotnet/akka.net/pull/3961) | ||
* [Akka.Cluster.Tools: Singleton - missing state change fix](https://github.com/akkadotnet/akka.net/pull/4003) | ||
* [Akka.Cluster.Tools: Fixed singleton issue when leaving several nodes](https://github.com/akkadotnet/akka.net/pull/3962) | ||
|
||
To [see the full set of changes in Akka.NET v1.3.15, click here](https://github.com/akkadotnet/akka.net/pull/3931). | ||
However, the biggest fix is for .NET Core 3.0 users. When .NET Core 3.0 was introduced, it broke some of the APIs in prior versions of [Hyperion](https://github.com/akkadotnet/Hyperion) which subsequently caused Akka.Cluster.Sharding and Akka.DistributedData users to have problems when attempting to run on .NET Core 3.0. These have been fixed as Akka.NET v1.3.16 is now running using the latest versions of Hyperion, which resolve this issue. | ||
|
||
To [see the full set of changes in Akka.NET v1.3.16, click here](https://github.com/akkadotnet/akka.net/pull/4037). | ||
|
||
| COMMITS | LOC+ | LOC- | AUTHOR | | ||
| --- | --- | --- | --- | | ||
| 3 | 443 | 196 | Aaron Stannard | | ||
| 4 | 119 | 6 | Aaron Stannard | | ||
| 3 | 531 | 126 | Ismael Hamed | | ||
| 3 | 108 | 11 | Andre Loker | | ||
| 2 | 2 | 2 | dependabot-preview[bot] | | ||
| 1 | 6 | 1 | cptjazz | | ||
| 1 | 1 | 1 | zbynek001 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
src/contrib/cluster/Akka.Cluster.Sharding.Tests/ClusterShardingSettingsSpec.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
//----------------------------------------------------------------------- | ||
// <copyright file="ClusterShardingConfigSpec.cs" company="Akka.NET Project"> | ||
// Copyright (C) 2009-2019 Lightbend Inc. <http://www.lightbend.com> | ||
// Copyright (C) 2013-2019 .NET Foundation <https://github.com/akkadotnet/akka.net> | ||
// </copyright> | ||
//----------------------------------------------------------------------- | ||
|
||
using System; | ||
using Akka.Cluster.Tools.Singleton; | ||
using Akka.Configuration; | ||
using Akka.TestKit; | ||
using Xunit; | ||
|
||
namespace Akka.Cluster.Sharding.Tests | ||
{ | ||
public class ClusterShardingSettingsSpec : Akka.TestKit.Xunit2.TestKit | ||
{ | ||
public ClusterShardingSettingsSpec() | ||
: base(GetConfig()) | ||
{ } | ||
|
||
public static Config GetConfig() | ||
{ | ||
return ConfigurationFactory.ParseString(@"akka.actor.provider = cluster | ||
akka.remote.dot-netty.tcp.port = 0") | ||
.WithFallback(ClusterSharding.DefaultConfig()) | ||
.WithFallback(ClusterSingletonManager.DefaultConfig()); | ||
} | ||
|
||
[Fact] | ||
public void ClusterShardingSettingsSpec_must_passivate_idle_entities_if_RememberEntities_and_PassivateIdleEntityAfter_are_the_defaults() | ||
{ | ||
ClusterShardingSettings.Create(Sys).ShouldPassivateIdleEntities.ShouldBe(true); | ||
} | ||
|
||
[Fact] | ||
public void ClusterShardingSettingsSpec_should_disable_passivation_if_RememberEntities_is_enabled() | ||
{ | ||
ClusterShardingSettings.Create(Sys) | ||
.WithRememberEntities(true) | ||
.ShouldPassivateIdleEntities.ShouldBe(false); | ||
} | ||
|
||
[Fact] | ||
public void ClusterShardingSettingsSpec_should_disable_passivation_if_RememberEntities_is_enabled_and_PassivateIdleEntityAfter_is_0_or_off() | ||
{ | ||
ClusterShardingSettings.Create(Sys) | ||
.WithRememberEntities(true) | ||
.WithPassivateIdleAfter(TimeSpan.Zero) | ||
.ShouldPassivateIdleEntities.ShouldBe(false); | ||
} | ||
|
||
[Fact] | ||
public void ClusterShardingSettingsSpec_should_disable_passivation_if_RememberEntities_is_the_default_and_PassivateIdleEntityAfter_is_0_or_off() | ||
{ | ||
ClusterShardingSettings.Create(Sys).WithPassivateIdleAfter(TimeSpan.Zero).ShouldPassivateIdleEntities.ShouldBe(false); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.