by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 15:45
    seanpar203 commented #278
  • Jan 31 2019 15:45
    seanpar203 commented #278
  • Jan 29 2019 23:31
    ankitpatel96 commented #291
  • Jan 29 2019 21:39
    akrylysov commented #244
  • Jan 05 2019 08:42
    qianShaw commented #131
  • Jan 04 2019 13:18
    Grokzen commented #131
  • Jan 04 2019 03:35
    qianShaw commented #131
  • Jan 03 2019 14:41
    Grokzen closed #301
  • Jan 03 2019 14:41
    Grokzen commented #301
  • Jan 03 2019 14:04
    15astro commented #301
  • Jan 03 2019 00:04
    Grokzen commented #301
  • Jan 02 2019 17:54
    15astro edited #301
  • Jan 02 2019 17:47
    15astro opened #301
  • Dec 27 2018 15:17
    Grokzen commented #296
  • Dec 26 2018 17:16
    CheViana commented #296
  • Dec 26 2018 17:06
    CheViana commented #295
  • Dec 26 2018 13:10
    Grokzen synchronize #296
  • Dec 26 2018 13:10

    Grokzen on redis-py-3.0

    Ported in a few new testcases t… More unicode, bytestring fixes.… (compare)

  • Dec 25 2018 12:35
    coveralls commented #300
  • Dec 25 2018 12:35
    coveralls commented #300
John Loehrer
@72squared
@Grokzen just started playing around with hyperloglog commands and noticed that pfcount is blocked on pipeline mode: https://github.com/Grokzen/redis-py-cluster/blob/unstable/rediscluster/pipeline.py#L322-L323
is there a good reason for that? it should have the same restriction as the non-pipelined mode and only works with keys mapped to the same hashslot but I'm only planning on using single-key calls anyway.
John Loehrer
@72squared

I have a workaround:

rediscluster.pipeline.StrictClusterPipeline.pfcount = rediscluster.client.StrictRedis.pfcount

But I'd rather not have to use it.

AlexBoyd
@AlexBoyd
Put up a small patch to fix a bug I found in the retry logic when hitting a timeout / connection error in pipelines
Grokzen/redis-py-cluster#220
just a really small fix where a return was inside rather than after a loop.
凡梦星尘
@elkan1788
image.png
I had install redis-python-cluster model on AWS VM, then test the redis cluster connect failed. So is that only support redis 3.0+ version?
凡梦星尘
@elkan1788
But I use jedis test it was successfully
IDreamItPossible
@IDreamItPossible
Hello everyone! I am new to redis-py-cluster . I run a rediscluster with redis4.0.1, redis-py-cluster proper functioning. But redis-py-cluster's document said that It only support redis 3.0.x. I am confused.
IDreamItPossible
@IDreamItPossible
And What redis version redis-py-cluster can realy supported? the redis-py-cluster i am using is redis_py_cluster-1.3.4.
0x123451
@0x123451
morning guys! i anybody can recommend async/await style rediscluster client for py3.6 what better to use with aiohttp / sanic or any async io http servers ?
zhufangze
@alwaysR9
hello, how about let pipeline.watch() and pipeline.multi() support unique slot operation? Is there a good method to solve this problem before watch() and multi() available?
Grokzen
@Grokzen
@alwaysR9 There is not that i know of
Joshua Gardner
@cellofellow
I'm getting an error AttributeError: 'ConnectionPool' object has no attribute 'nodes'
tonghualin
@tonghualin
@Grokzen can you tell me which company is using this lib? Thank you.
Hamelina
@Hamelina
Hi everyone :) I have some trouble connecting redis in python. When I do it in a simple programm it works but when I connect to redis an another programm via in a docker image, it doesn't work anymore. Did someone have an issue like this one ? Thanks in advance
jindov
@jindov_gitlab
hi all, im using macOS, why I can't use redis cluster even I set the IP=0.0.0.0 in the environment
Leon Lee
@leon-lee-jl
Hello, anyone can help me with the hset command in redis-py-cluster? It hangs there when I use hset command
byebyebye
@jeremyzhou
hello
byebyebye
@jeremyzhou
anyone know how to use lua to run script?
rediscluster_.eval(lua, 1, key, int(time.time()), auth["nonce"])
these errors come out:
Error running script (call to f_d8fc9f4469dc3bea9662f1af23a225c6fbd33622): @user_script:12: @user_script: 12: Wrong number of args calling Redis command From Lua script : ResponseError
Traceback (most recent call last):
File "/var/task/lambda_function.py", line 115, in POSTCheckin
return checkin(request)
File "/var/task/lambda_function.py", line 147, in checkin
get_secret_and_expiry(r, auth)
File "/var/task/lambda_function.py", line 315, in get_secret_and_expiry
int(time.time()), auth["nonce"])
File "/var/task/redis/client.py", line 2067, in eval
return self.execute_command('EVAL', script, numkeys, keys_and_args)
File "/var/task/rediscluster/utils.py", line 101, in inner
return func(
args, kwargs)
File "/var/task/rediscluster/client.py", line 371, in execute_command
return self.parse_response(r, command,
kwargs)
File "/var/task/redis/client.py", line 680, in parse_response
response = connection.read_response()
File "/var/task/redis/connection.py", line 629, in read_response
raise response
ResponseError: Error running script (call to f_d8fc9f4469dc3bea9662f1af23a225c6fbd33622): @user_script:12: @user_script: 12: Wrong number of args calling Redis command From Lua script
jjj-5210
@jjj-5210
hi, anyone know Why doesn't redis-py-cluster support python redis 3.2.1.
903165495
@903165495
@jjj-5210
mzhoull
@mzhoull
Hello! Can anyone tell me what's the current status of feature/redis-py-3.0? How is the stability of it and when is it planned to be released?
Does listed issues in the above link still exist?
Kesava Vunnava
@satva

hi, >> import rediscluster

from rediscluster import RedisCluster
startup_nodes = [{"host": "172.25.21.100", "port": "12540"}]
rc = RedisCluster(startup_nodes=startup_nodes, decode_responses=True)

it was blocking .
what can be the reason
Antonio Di Mariano
@antoniodimariano

Hi guys, I've just installed redis-py-cluster 2.0.0 . I got this error

from redis._compat import unicode, bytes, long, basestring
ImportError: cannot import name 'bytes' from 'redis._compat'
redis                         3.5.0     
redis-py-cluster              2.0.0

And

RedisCluster(startup_nodes=startup_nodes,decode_responses=True,charset='utf-8')

Same error with the redis version 3.1.0.
Someonw can help me? Thanks

Antonio Di Mariano
@antoniodimariano
so is the only working setup redis version 3.0.0 and redis-py-cluster 2.0.0 ?

because if I try with redis-py-cluster 1.3.4 and redis version 3.2 I got errors as well, like

from redis._compat import b, unicode, bytes, long, basestring
ImportError: cannot import name 'b' from 'redis._compat'

even if

RedisCluster(startup_nodes=startup_nodes,decode_responses=True,skip_full_coverage_check=True,charset='utf-8')
Antonio Di Mariano
@antoniodimariano
....
hi, any shares?