Skip to content

Commit

Permalink
Merge pull request #5842 from akkadotnet/dev
Browse files Browse the repository at this point in the history
v1.4.37 Release
  • Loading branch information
Aaronontheweb authored Apr 14, 2022
2 parents 85d7b89 + a42fa87 commit 786bb9b
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 6 deletions.
14 changes: 14 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#### 1.4.37 April 14 2022 ####
Akka.NET v1.4.37 is a minor release that contains some minor bug fixes.

* [Persistence.Query: Change AllEvents query failure log severity from Debug to Error](https://github.com/akkadotnet/akka.net/pull/5835)
* [Coordination: Harden LeaseProvider instance Activator exception handling](https://github.com/akkadotnet/akka.net/pull/5838)
* [Akka: Make ActorSystemImpl.Abort skip the CoordinatedShutdown check](https://github.com/akkadotnet/akka.net/pull/5839)

If you want to see the [full set of changes made in Akka.NET v1.4.37, click here](https://github.com/akkadotnet/akka.net/milestone/68?closed=1).

| COMMITS | LOC+ | LOC- | AUTHOR |
|---------|------|------|---------------------|
| 3 | 15 | 4 | Gregorius Soedharmo |
| 1 | 2 | 2 | dependabot[bot] |

#### 1.4.36 April 4 2022 ####
Akka.NET v1.4.36 is a minor release that contains some bug fixes. Most of the changes have been aimed at improving our web documentation and code cleanup to modernize some of our code.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ protected bool Replaying( object message )
ReceiveRecoverySuccess(success.HighestSequenceNr);
return true;
case EventReplayFailure failure:
Log.Debug("event replay failed, due to [{0}]", failure.Cause.Message);
Log.Error(failure.Cause, "event replay failed, due to [{0}]", failure.Cause.Message);
Buffer.DeliverBuffer(TotalDemand);
OnErrorThenStop(failure.Cause);
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Data.SQLite" Version="5.0.11" />
<PackageReference Include="Microsoft.Data.SQLite" Version="6.0.4" />
</ItemGroup>

<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
Expand Down
15 changes: 13 additions & 2 deletions src/core/Akka.Coordination/LeaseProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,12 @@ public Lease GetLease(string leaseName, string configPath, string ownerName)
{
return (Lease)Activator.CreateInstance(leaseType, settings, _system);
}
catch
catch(MissingMethodException)
{
return (Lease)Activator.CreateInstance(leaseType, settings);
}
}
catch (Exception ex)
catch (MissingMethodException ex)
{
Log.Error(
ex,
Expand All @@ -159,6 +159,17 @@ public Lease GetLease(string leaseName, string configPath, string ownerName)

throw;
}
catch(Exception ex)
{
Log.Error(
ex,
"Failed to instantiate lease class [{2}] for leaseName [{0}], configPath [{1}].",
settings.LeaseName,
configPath,
leaseType);

throw;
}
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/Akka/Actor/Internal/ActorSystemImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ public override IActorRef SystemActorOf<TActor>(string name = null)
public override void Abort()
{
Aborting = true;
Terminate();
FinalTerminate(); // Skip CoordinatedShutdown check and aggressively shutdown the ActorSystem
}

/// <summary>Starts this system</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Data.SQLite" Version="5.0.11" />
<PackageReference Include="Microsoft.Data.SQLite" Version="6.0.4" />
</ItemGroup>

<ItemGroup>
Expand Down

0 comments on commit 786bb9b

Please sign in to comment.