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

Utilizing redis WAIT functionality #344

Open
Hatched-Kyle opened this issue Apr 6, 2021 · 4 comments
Open

Utilizing redis WAIT functionality #344

Hatched-Kyle opened this issue Apr 6, 2021 · 4 comments

Comments

@Hatched-Kyle
Copy link

Is is possible to utilize the redis WAIT command to help guarantee strong consistency across all nodes?

https://redis.io/commands/wait

@tubbo
Copy link
Contributor

tubbo commented Apr 7, 2021

I suppose it would be. Were you having an issue with consistency across your replicas?

@Hatched-Kyle
Copy link
Author

Hatched-Kyle commented Apr 7, 2021

Yeah we're noticing request coming in with expired session data. Even up to 15 seconds after we have updated that specific session. Our redis cluster consists of 4 nodes each with 1 replica.

It almost seems like the session write didn't succeed from the previous request but were not seeing anything in our logs. This is happening ~70 times a day.

Is there a flag I need to set to get more logging info?

@tubbo
Copy link
Contributor

tubbo commented May 27, 2021

Well if anything i'd want this to be included in DistributedStore, since that's the class that handles distributed deployments of redis, and i think it handles clusters as well. There aren't any flags you can set in Redis::Store for debug logging, you'll just have to add logs in the code if you need them.

@tubbo
Copy link
Contributor

tubbo commented Nov 7, 2022

@Hatched-Kyle are you potentially having the same issue as redis-store/redis-rack#70?

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

No branches or pull requests

2 participants