Code Monkey home page Code Monkey logo

Comments (3)

javsalgar avatar javsalgar commented on September 25, 2024 1

This specific question is more about how the application works, so my advice would be to check with the upstream Redis devs to see how the proper use of Sentinel would be and the way to get the newest value if there is a synchronization lag.

from charts.

javsalgar avatar javsalgar commented on September 25, 2024

Hi!

Could you share the logs of the pods? The sentinels should point to the proper master. It seems that there is a split brain issue.

from charts.

AjayEdupuganti avatar AjayEdupuganti commented on September 25, 2024

Hi @javsalgar sorry that i missed your message.
I understood the issue.
in kubernetes service randomly directs load to multiple pods available based on their resources right?

i am referencing redis service directly in my codebase which is randomly directing requests to master and replica..
thats why i have been getting this error.

Now i changed the code block to take sentinel service and redirect to master.

But now a new issue came up.
all the load is going to only master.
if i want to redirect load to master and replica.
all the set to master and all the get to replica.
there will be replication lag betweeen master and replica right?
is there a way to redirect the requests to master if the value set in master is not s to synchronised to replicas

from charts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.