-
Notifications
You must be signed in to change notification settings - Fork 19
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
Akka.Persistence.Redis v1.4.16 - the "we removed Akka.Persistence.Query support" thread #126
Comments
@Aaronontheweb I was trying to get your Cluster Sharding Viewer example working with Redis, as I wanted to understand why I'm getting occasional issues with an issue that was seen a long time, which causes the message "System.ArgumentException: Shard 98 is already allocated (Parameter 'e')" on Persistence Recovery. I was hoping to interrogate Redis when the system is in a bad state, and try to deserialise the data and see what gets thrown up (and avoid all the boilerplate trying to go direct to redis to pull the raw data and try to deserialise it myself) Given this notice above, am I right in thinking that any use of Persistent Query will simply not work for Redis? I'm not able to switch to ddata just yet, so its either Redis or I may need to look at an alternative plugin |
Which sample is this? |
Ah I see - good news though, this query: Is supported by Akka.Persistence.Redis.Query since it doesn't depend on tags. Akka.Persistence.Redis/src/Akka.Persistence.Redis/Query/RedisReadJournal.cs Lines 103 to 116 in 4aa8cd9
So does that viewer not run correctly with Redis right now? |
No, I can see query whilst monitoring redis which should return data (it does when called in redis-cli), but nothing ever returns in the console app. Might be serialisers. I’ll keep at it, now I know it should work |
In the course of investigating #109, we came to some conclusions about the use of Akka.Persistence.Query in Akka.Persitsence.Redis:
IPersistentRepresentation
and theTagged
referencing it can be written in the same atomic transaction. That's a bit of a problem.RedisJournal
and removed the tests that covered it, the entire single node test suite ran in under 60 seconds. You can see some benchmark values here: disabled all Akka.Persistence.Query functionality - to observe performance changes #114 (comment)We're opening this issue so we can get data from users this change adversely affected - if you were previously using Akka.Persistence.Query with Akka.Persistence.Redis and need that functionality back, please let us know and tell us a bit about your use case here!
The text was updated successfully, but these errors were encountered: