Skip to content
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

Accelergreat: missing keys #523

Open
CorporateActionMan opened this issue Dec 5, 2022 · 1 comment
Open

Accelergreat: missing keys #523

CorporateActionMan opened this issue Dec 5, 2022 · 1 comment

Comments

@CorporateActionMan
Copy link

Accelergreat Missing Keys

Hi Ugo,

The environment

I'm using an integration test framework that spins up 8 isolated Web Api environments and therefore 8 connection multiplexers each within the bounds of an xunit test using Kestrel connected to a single redis docker standalone container all on a local Development machine.

The problem

When I run the tests I get seemingly byzantine errors and it appears that some of the keys are not persisted for a single Web api Request. The test then fails for a subsequent request because the cache entry does not exist. Note there are no exceptions thrown prior to the missing cache entries being discovered.

What could be going wrong?

It would be great to actually show you.

@imperugo
Copy link
Owner

imperugo commented Mar 1, 2023

Hi @CorporateActionMan
if you don't have any exception it seems really strage. Are you able to replicate it in your environment right?
Have you any error log? Because the multiplex is logging more or less all if you enable it.

Look here

https://github.com/imperugo/StackExchange.Redis.Extensions/blob/master/src/core/StackExchange.Redis.Extensions.Core/Implementations/StateAwareConnection.cs#L44-L72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants