Skip to content

Commit

Permalink
Release 5.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed May 10, 2024
1 parent 00fcd85 commit 9944784
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
Release Notes
====

# 05-10-2024
<a href="https://www.nuget.org/packages/dotnext.net.cluster/5.5.1">DotNext.Net.Cluster 5.5.1</a>
* Fixed behavior of `IRaftCluster.ConsensusToken` when a node is in **standby** mode

<a href="https://www.nuget.org/packages/dotnext.aspnetcore.cluster/5.5.1">DotNext.AspNetCore.Cluster 5.5.1</a>
* Updated dependencies

# 05-05-2024
<a href="https://www.nuget.org/packages/dotnext.threading/5.3.1">DotNext.Threading 5.3.1</a>
* Fixed race condition caused by `LinkedCancellationTokenSource.CancellationOrigin` property that leads to incorrectly returned cancellation token
Expand Down
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,12 @@ All these things are implemented in 100% managed code on top of existing .NET AP
* [NuGet Packages](https://www.nuget.org/profiles/rvsakno)

# What's new
Release Date: 05-05-2024
Release Date: 05-10-2024

<a href="https://www.nuget.org/packages/dotnext.threading/5.3.1">DotNext.Threading 5.3.1</a>
* Fixed race condition caused by `LinkedCancellationTokenSource.CancellationOrigin` property that leads to incorrectly returned cancellation token
<a href="https://www.nuget.org/packages/dotnext.net.cluster/5.5.1">DotNext.Net.Cluster 5.5.1</a>
* Fixed behavior of `IRaftCluster.ConsensusToken` when a node is in **standby** mode

<a href="https://www.nuget.org/packages/dotnext.net.cluster/5.5.0">DotNext.Net.Cluster 5.5.0</a>
* Introduced `IRaftCluster.WaitForLeadershipAsync` method that waits for the local node to be elected as a leader of the cluster
* Fixed [233](https://github.com/dotnet/dotNext/issues/233)
* Fixed correctness of appending no-op entry by a leader used as a write barrier

<a href="https://www.nuget.org/packages/dotnext.aspnetcore.cluster/5.5.0">DotNext.AspNetCore.Cluster 5.5.0</a>
<a href="https://www.nuget.org/packages/dotnext.aspnetcore.cluster/5.5.1">DotNext.AspNetCore.Cluster 5.5.1</a>
* Updated dependencies

Changelog for previous versions located [here](./CHANGELOG.md).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<ImplicitUsings>true</ImplicitUsings>
<IsTrimmable>true</IsTrimmable>
<Features>nullablePublicOnly</Features>
<VersionPrefix>5.5.0</VersionPrefix>
<VersionPrefix>5.5.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>.NET Foundation and Contributors</Authors>
<Product>.NEXT Family of Libraries</Product>
Expand Down
2 changes: 1 addition & 1 deletion src/cluster/DotNext.Net.Cluster/DotNext.Net.Cluster.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Nullable>enable</Nullable>
<IsTrimmable>true</IsTrimmable>
<Features>nullablePublicOnly</Features>
<VersionPrefix>5.5.0</VersionPrefix>
<VersionPrefix>5.5.1</VersionPrefix>
<VersionSuffix></VersionSuffix>
<Authors>.NET Foundation and Contributors</Authors>
<Product>.NEXT Family of Libraries</Product>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ protected async ValueTask<Result<HeartbeatResult>> AppendEntriesAsync<TEntry>(Cl
}

// prevent Follower state transition during processing of received log entries
using (new FollowerState<TMember>.TransitionSuppressionScope(state as FollowerState<TMember>))
using (new ConsensusTrackerState<TMember>.TransitionSuppressionScope(state as ConsensusTrackerState<TMember>))
{
/*
* AppendAsync is called with skipCommitted=true because HTTP response from the previous
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ private async Task Track()
{
using var cts = Interlocked.Exchange(ref consensusTokenSource, null);
cts.Cancel(throwOnFirstException: false);
cts.Dispose();
}

// Ignored if timeout tracking is aborted by OperationCanceledException.
Expand Down

0 comments on commit 9944784

Please sign in to comment.