BatchingSqlJournal
expects aTerminated
message to properly dispose of itself, but it never receives any.- Related to akkadotnet/Akka.Persistence.SqlServer#114 (comment) "the number of recovering actors are more that 3500!" (strong possible clue)
Possible fix: addContext.Watch(Self);
to the constructorContext.Watch(Self)
is called inAddTagSubscriber
andAddAllSubscriber
, need further investigation.
- A combination of
BatchingSqlJournal
and sharding supervising is causing the system to recreate failing actors way too frequently, spamming the system with "CircuitBreaker is failing fast" debug message.- Have not checked the sharding code yet, still a hypothesis.
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
using System; | |
using System.Threading.Tasks; | |
using System.Threading; | |
using Akka.Configuration; | |
using Akka.TestKit; | |
using Xunit; | |
using Xunit.Abstractions; |
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
using System; | |
using System.Collections.Immutable; | |
using System.Threading.Tasks; | |
using System.Threading; | |
using Akka.Actor; | |
using Akka.Configuration; | |
using Akka.TestKit; | |
using Xunit; |
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
using Akka.Actor; | |
using Akka.Cluster; | |
using Akka.Event; | |
namespace Simple.Cluster | |
{ | |
public class ClusterListener : ReceiveActor | |
{ | |
public static Props Props() => Akka.Actor.Props.Create(() => new ClusterListener()); |
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
public interface IMyInterface | |
{ | |
TOut MyMethod<TOut>(object message); | |
} | |
public interface IMyInterface<TIn> : IMyInterface | |
{ | |
TOut MyMethod<TOut>(TIn message); | |
} |