Giter Site home page Giter Site logo

Comments (7)

bjosv avatar bjosv commented on July 26, 2024

Yes, eval is supported.

There are examples of this in our tests, see:
https://github.com/Nordix/hiredis-cluster/blob/master/tests/ct_commands.c#L143

from hiredis-cluster.

zuiderkwast avatar zuiderkwast commented on July 26, 2024

We have a plan to add a list of all supported commands in a markdown file.

from hiredis-cluster.

starboy520 avatar starboy520 commented on July 26, 2024

It'seems redisClusterContext. are not thread safe?
beacase when the redisReply are nullptr, need get cc->err;

from hiredis-cluster.

zuiderkwast avatar zuiderkwast commented on July 26, 2024

It'seems redisClusterContext. are not thread safe?

That's correct. Even hiredis (without cluster) is not thread safe. See #57.

from hiredis-cluster.

starboy520 avatar starboy520 commented on July 26, 2024

It'seems redisClusterContext. are not thread safe?

That's correct. Even hiredis (without cluster) is not thread safe. See #57.

thanks for reply,
another question :
when the cluster are adding or removing node with the migrate command
can hiredis_cluster get relay succ without new a client?

from hiredis-cluster.

starboy520 avatar starboy520 commented on July 26, 2024

It'seems redisClusterContext. are not thread safe?

That's correct. Even hiredis (without cluster) is not thread safe. See #57.

thanks for reply,
another question :
when the cluster are adding or removing node with the migrate command
can hiredis_cluster process this?

from hiredis-cluster.

zuiderkwast avatar zuiderkwast commented on July 26, 2024

Yes, if the cluster has moved or is in the process of moving slots from one node to another, the node will reply with a MOVED or ASK redirect and hiredis-cluster will follow the redirect and update the slot mapping using CLUSTER SLOTS, as described in https://redis.io/topics/cluster-spec#redirection-and-resharding.

from hiredis-cluster.

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.