Skip to content

Commit 5e2bd0e

Browse files
chore: added 2024 headers (#7319)
* added 2024 headers * added missing nullability support to Akka.Cluster.Sharding.Delivery * fixed nullability issues in Akka.Cluster.Tools
1 parent 96c6a60 commit 5e2bd0e

File tree

2,158 files changed

+4688
-4647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,158 files changed

+4688
-4647
lines changed

src/Directory.Build.props

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<PropertyGroup>
33
<Copyright>Copyright © 2013-2023 Akka.NET Team</Copyright>
44
<Authors>Akka.NET Team</Authors>
5-
<VersionPrefix>1.5.27</VersionPrefix>
5+
<VersionPrefix>1.5.27.1</VersionPrefix>
66
<PackageIcon>akkalogo.png</PackageIcon>
77
<PackageProjectUrl>https://github.com/akkadotnet/akka.net</PackageProjectUrl>
88
<PackageLicenseUrl>https://github.com/akkadotnet/akka.net/blob/master/LICENSE</PackageLicenseUrl>
@@ -47,33 +47,13 @@
4747
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
4848
</PropertyGroup>
4949
<PropertyGroup>
50-
<PackageReleaseNotes>Akka.NET v1.5.27 is a significant release that includes new features, mission-critical bug fixes, and some performance improvements.
51-
Major Akka.Cluster.Sharding and Akka.Cluster.Tools.Singleton Bug Fixes**
52-
In _all prior versions_ of Akka.NET, there are two high impact distributed systems bugs:
53-
1. [Akka.Cluster.Tools.Singleton: singleton moves earlier than expected - as soon as new node joins](https://github.com/akkadotnet/akka.net/issues/7196)
54-
2. [Akka.Cluster.Sharding: duplicate shards / entities](https://github.com/akkadotnet/akka.net/issues/6973)
55-
As we discovered during the course of our pains-taking bug investigation, these were, in fact, the same issue:
56-
1. The `ClusterSingletonManager` is supposed to _always_ belong on the oldest node of a given role type, but an original design error from the time Akka.Cluster.Tools was first introduced to Akka.NET meant that nodes were always sorted in _descending_ order of `UpNumber`. This is backwards: nodes should always be sorted in _ascending_ order of `UpNumber` - this means that the oldest possible node is always at the front of the "who is oldest?" list held by the `ClusterSingletonManager`. This explains why the singleton could appear to move early during deployments and restarts.
57-
2. The `ClusterSingletonManager` was suspectible to a race condition where if nodes were shutdown and restarted with the same address in under 20 seconds, the default "down removal margin" used by the `ClusterSingletonManager` to tolerate dirty exits, it would be possible after _multiple_ successive, fast, restarts for multiple instances of the singleton to be alive at the same time (for a short period.)
58-
Both of these varieties of problem, duplicate singletons, is what lead to duplicate shards.
59-
As a result we've made the following fixes:
60-
[Akka.Cluster.Tools: deprecate ClustersSingletonManagerSettings.ConsiderAppVersion](https://github.com/akkadotnet/akka.net/pull/7302) - `AppVersion` is no longer considered for singleton placement as it could easily result in split brains.
61-
[Akka.Cluster.Tools: fix mutability and oldest state bugs with `ClusterSingletonManager`](https://github.com/akkadotnet/akka.net/pull/7298) - resolves the issue with rapid rolling restarts creating duplicates. We've tested this fix in our test lab across thousands of coordinator restarts and haven't been able to reproduce the issue since (we could easily do it before.)
62-
[Akka.Cluster.Tools.Singleton / Akka.Cluster.Sharding: fix duplicate shards caused by incorrect `ClusterSingletonManager` `HandOver`](https://github.com/akkadotnet/akka.net/pull/7297) - we fixed the member age problem here, which could cause a second singleton to start at inappropriate times.
63-
Akka.Discovery and `ClusterClient` Discovery Support**
64-
In Akka.NET v1.5.27 we've added support for using Akka.Cluster.Tools.ClusterClient alongside with [Akka.Discovery plugins](https://getakka.net/articles/discovery/index.html) to automatically discover the initial contacts you need for `ClusterClientReceptionist` instances in your environment.
65-
You can read the documentation for how this works here: https://getakka.net/articles/clustering/cluster-client.html#contact-auto-discovery-using-akkadiscovery
66-
Related PRs and issues:
67-
[Akka.Discovery: Add multi-config support to config-based discovery](https://github.com/akkadotnet/akka.net/issues/7271)
68-
[Cluster.Tools: Fix missing VerboseLogging in ClusterClientSettings.Copy method](https://github.com/akkadotnet/akka.net/issues/7272)
69-
[Cluster.Tools: Improve ClusterClientDiscovery to avoid thundering herd problem](https://github.com/akkadotnet/akka.net/issues/7270)
70-
[Cluster.Tools: Change ClusterClientDiscovery to use the new Akka.Management "/cluster-client/receptionist" endpoint](https://github.com/akkadotnet/akka.net/issues/7274)
71-
Other Bug Fixes and Improvements**
72-
[Akka.Cluster: improve gossip serialization performance](https://github.com/akkadotnet/akka.net/pull/7281)
73-
[Akka.Streams: Fix `ActorMaterializerImpl` `null` `LogSource`](https://github.com/akkadotnet/akka.net/pull/7300)
74-
[Akka.Streams: `AlsoTo` may not be failing graph when its sink throws exception](https://github.com/akkadotnet/akka.net/issues/7269)
75-
[Akka.DistributedData: if `lmdb.dir` is null or empty, log a warning and set to default](https://github.com/akkadotnet/akka.net/pull/7292)
76-
To [see the full set of changes in Akka.NET v1.5.27, click here](https://github.com/akkadotnet/akka.net/milestone/109).</PackageReleaseNotes>
50+
<PackageReleaseNotes>Akka.NET v1.5.27.1 is a minor patch to fix a race condition between the logging and remoting system.
51+
[Akka: Fix Remoting-Logging DefaultAddress race condition](https://github.com/akkadotnet/akka.net/pull/7305)
52+
To [see the full set of changes in Akka.NET v1.5.27.1, click here](https://github.com/akkadotnet/akka.net/milestone/110).
53+
| COMMITS | LOC+ | LOC- | AUTHOR |
54+
|---------|------|------|---------------------|
55+
| 1 | 4 | 0 | Aaron Stannard |
56+
| 1 | 10 | 3 | Gregorius Soedharmo |</PackageReleaseNotes>
7757
</PropertyGroup>
7858
<ItemGroup Label="Analyzers" Condition="'$(MSBuildProjectName)' != 'Akka'">
7959
<PackageReference Include="Akka.Analyzers" Version="$(AkkaAnalyzerVersion)" PrivateAssets="all" />

src/benchmark/Akka.Benchmarks/Actor/ActorMemoryFootprintBenchmark.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="ActorMemoryFootprintBenchmark.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

src/benchmark/Akka.Benchmarks/Actor/ActorMessagingMemoryPressureBenchmark.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="ActorMessagingMemoryPressureBenchmark.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

@@ -134,4 +134,4 @@ public Task AskMsgs()
134134
return Task.WhenAll(_askTasks);
135135
}
136136
}
137-
}
137+
}

src/benchmark/Akka.Benchmarks/Actor/ActorPathBenchmarks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="ActorPathBenchmarks.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

src/benchmark/Akka.Benchmarks/Actor/ActorRefBenchmarks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="ActorRefBenchmarks.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

src/benchmark/Akka.Benchmarks/Actor/ActorSelectionBenchmark.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="ActorSelectionBenchmark.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

src/benchmark/Akka.Benchmarks/Actor/AddressBenchmarks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="AddressBenchmarks.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

src/benchmark/Akka.Benchmarks/Actor/FsmBenchmarks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="FsmBenchmarks.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

src/benchmark/Akka.Benchmarks/Actor/GetChildBenchmark.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="GetChildBenchmark.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

src/benchmark/Akka.Benchmarks/Actor/PingPongBenchmarks.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//-----------------------------------------------------------------------
22
// <copyright file="PingPongBenchmarks.cs" company="Akka.NET Project">
3-
// Copyright (C) 2009-2023 Lightbend Inc. <http://www.lightbend.com>
4-
// Copyright (C) 2013-2023 .NET Foundation <https://github.com/akkadotnet/akka.net>
3+
// Copyright (C) 2009-2024 Lightbend Inc. <http://www.lightbend.com>
4+
// Copyright (C) 2013-2024 .NET Foundation <https://github.com/akkadotnet/akka.net>
55
// </copyright>
66
//-----------------------------------------------------------------------
77

0 commit comments

Comments
 (0)