Git Product home page Git Product logo

Comments (10)

mrniko avatar mrniko commented on May 12, 2024 1

@trichner now you may check MOVED support

from redisson.

trichner avatar trichner commented on May 12, 2024

Tried it, redisson doesn't handle clustering/sharding.

Exception in thread "main" com.lambdaworks.redis.RedisException: MOVED 5851 10.0.0.61:6379
    at com.lambdaworks.redis.RedisAsyncConnection.await(RedisAsyncConnection.java:1145)
    at com.lambdaworks.redis.RedisConnection.await(RedisConnection.java:827)
    at com.lambdaworks.redis.RedisConnection.hkeys(RedisConnection.java:282)
    at org.redisson.RedissonMap.keySet(RedissonMap.java:140)
    ...

Is support for clustering on the roadmap? Jedis has support...

from redisson.

mrniko avatar mrniko commented on May 12, 2024

Yes, i'am planning to implement it right after this task #24

from redisson.

trichner avatar trichner commented on May 12, 2024

Thx! Great work btw.

from redisson.

mrniko avatar mrniko commented on May 12, 2024

@trichner which redis version do you use?

from redisson.

trichner avatar trichner commented on May 12, 2024

Redis version 2.9.54, which is the same as redis 3.0.0-beta5.

from redisson.

trichner avatar trichner commented on May 12, 2024

good work! thanks!

from redisson.

rekhajaya avatar rekhajaya commented on May 12, 2024

I have created a cluster with 3 master and 3 slave.
port 7000 seems to be myself,master.
If 7000 goes down I get a connection refused exception with Redisson. Ideally it should shift to its slave.
I am copying the exception here
com.lambdaworks.redis.RedisConnectionException: Unable to connect /127.0.0.1:7000
at com.lambdaworks.redis.RedisClient.connect(RedisClient.java:183)
at com.lambdaworks.redis.RedisClient.connectAsync(RedisClient.java:143)
at com.lambdaworks.redis.RedisClient.connectAsync(RedisClient.java:104)
at org.redisson.connection.ClusterConnectionManager.(ClusterConnectionManager.java:54)
at org.redisson.Redisson.(Redisson.java:56)
at org.redisson.Redisson.create(Redisson.java:82)

Is it a known issue?

from redisson.

mrniko avatar mrniko commented on May 12, 2024

Done!

from redisson.

trichner avatar trichner commented on May 12, 2024

awesome job! thanks!

from redisson.

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.