-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible regression: System.NotImplementedException in Akka.Persistence.Sql.Common.Journal.BatchingSqlJournal #5466
Comments
@object you might need to upgrade the version of Phobos that you're on as well - v1.3.2 takes a dependency on v1.4.31. I've been somewhat more liberal recently about the API changes we've allowed lately and my decisions there created some issues with binary compatibility in recent releases. Lesson learned: we're going to tighten that up and I'm almost done formalizing our policies on those subjects here: #5461 |
Also, which version of Akka.Persistence.SqlServer are you using? |
I first used Akka.Persistence.SqlServer 1.4.25, then upgraded it to 1.4.31, still failed. |
@Aaronontheweb BTW would you recommend switching to Akka.Persistence.Linq2Db to eliminate this error? I noticed that while Akka.Persistence.SqlServer was updated to 1.4.31, Akka.Persistence.Linq2Db is still an older version, so I was not sure if I should give it a try. |
Sounds like this is still an issue then if everything is failing with v1.4.31.
As for why Linq2Db has not been upgraded, that's a @to11mtm question. But generally, yes I think we're going to see better performance out of Linq2Db over the long haul. |
@Aaronontheweb ... and after downgrading it to 1.4.29 I have been running services for almost a day with no such error. So this sounds like 1.4.31 error. |
This is probably related to some of the API changes that occurred in 1.4.30 - we had to roll back some of those in v1.4.31 already, but there might be others. |
Also, this should be relatively easy for us to reproduce. |
Generally speaking, an older version of the DB Plugins -should- be fine with newer versions of Akka.Net unless there is a breaking change elsewhere in the API. The last major one that comes to mind was #4680 but maybe there was another. That being said while switching is probably a good idea, I don't know whether it would really help in this case =/. |
@to11mtm I tried both older (1.4.25) and newest (1.4.31) versions of Akka.Persistence.SqlServer with the latest (1.4.31) version of Akka and Phobos packages, and they both failed with NotImplementedException. |
A few things stood out to me when I read the stack trace:
This looks like a compounded bug between Akka.Persistence.Sql.Common 1.4.31 and Phobos 1.3.2. I will need to try and make a reproduction test case for this. |
Looks like this was a Phobos issue all along. We're releasing Phobos v1.3.3 now which should fix this issue. It was introduced by some of the correlation changes we introduced in order to make |
Phobos 1.3.3 is now released and should fix this issue. Please let us know, after you upgrade, if this resolves your issue with Akka.NET v1.4.31. |
Great! Will try tomorrow. |
Build a new version, looks good so far! |
Excellent, thanks for letting us know! |
Version Information
Version of Akka.NET? 1.4.31
Which Akka.NET Modules? 1.4.31
Describe the bug
After we upgraded Akka packages from version 1.4.29 to 1.4.31, we observe frequent persistence failures. Here's an example:
To Reproduce
Steps to reproduce the behavior:
Environment
We run our services on Windows servers, .NET 5.0
Additional context
Rolling back the libraries to the version 1.4.29 eliminated these errors.
The text was updated successfully, but these errors were encountered: