-
Notifications
You must be signed in to change notification settings - Fork 81
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
fixing other stateful queries issue #210
Conversation
@slorello89 The commit looks good. Can you drop 0.2.4 to test? |
@shacharPash @slorello89 Are we able to push this out to nuget real quick? |
@VagyokC4 - can you build it from source to check to make sure it totally solves the problem for you? I'm at a conference this week so a bit OOP :) |
@slorello89 Hmmm... so it's working, but it's not. I'm trying to reduce down to a repeatable test... but the initial bug is gone, as I get my data back, however the connection is now dead and all future queried timeout. Any ideas? I'll keep testing and update as I know more. UPDATE1: Maybe it has something to do with the ToListAsync enumerating the collection that is having an issue. Looks like we bomb out after getting 10k results? Here is the offending query var redisCollection = redisConnectionProvider.RedisCollection<MailboxSubjectRecord>();
await redisCollection.Where(x => x.Owners.Contains("IMailbox:01GDXYE6P8GVJ5BHRKR0971GMZ")).ToListAsync().Dump(); Here are the results from Monitor
|
@slorello89 Ok, We can close this issue out, as the fix appears to be working. I will open a new issue as the issue I am seeing I can reproduce in older versions (0.2.1) so this is a completely different / new issue. |
@VagyokC4 - that issue you are describing is an older issue with RediSearch (not redis-om-dotnet), where the client was freezing when you went over 10k search results, that issue SHOULD be resolved already. |
@VagyokC4 opened a separate issue and confirmed that his 10K search result issue was fixed in a forthcoming version of redis-stack (only applies to RC-7 I think?) |
Yes. By tracking the build numbers, it should have been resolved in 7-RC1, but I can confirm it's resolved in 7-RC2. |
Is there anything blocking this from being released? |
Waiting on approvals @rpf3 - ping @shacharPash @chayim |
Fixes #205, adding better exception handling for folks who try enumerating the same redis collection twice. @VagyokC4 - can you check this to make sure this fixes your issue :)