Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix bug of unclosed socket stream in RedisCluster's construction #774

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 28, 2016

Conversation

CatKang
Copy link
Contributor

@CatKang CatKang commented Mar 25, 2016

The socket stream in RedisCluster.seeds leave unclosed incorrectly.

Which cause crash when creating RedisCluster repeatedly,even if call close function in the loop.

And the error message show "Couldn't map cluster keyspace using any provided seed"

@michael-grunder michael-grunder merged commit 31b0531 into phpredis:develop Mar 28, 2016
@hayageek
Copy link

hayageek commented Apr 2, 2016

hi,
did you test RedisCluster with authentication ?

@michael-grunder
Copy link
Member

I haven't. I'm curious, does that even work? I know a while back there was a debate as to whether to support authentication in a cluster at all.

I suppose I'll spin one up and see. That being said, if people are doing this it isn't difficult from my side as I just have to send a command.

It would have to be sent to me beforehand, and wouldn't be able to handle lots of different passwords per node, etc. So like a master 'password' could be set up but that would be to all nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants