lazyShardConnectionPool not using consistent hash algorithm?
Closed this issue · 1 comments
douglascamata commented
Hi, I've been using lazyShardConnectionPool for a while with only one Redis. Now I'm doing some tests with many servers and I found that txredisapi set
commands are sending data just to the last server I pass to lazySharedConnectionPool. But when I run the sharding example it works fine, note that it uses ShardConnection instead of lazyShardConnectionPool.
Please, see my code in: https://gist.github.com/3241776 (please don't judge it, lol)
fiorix commented
Hi there. Apparently, there was a mistake on the hash ring generation for lazy connections.
It's fixed now, and confirmed to be working. :)
Both github and pypi are now on version 0.8, and cyclone will be synced in the next few minutes.
Thanks!