-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
autorehash in RedisArray constructor options Doesn't Work #294
Comments
Hey there, I will try to replicate this problem for you tonight or tomorrow. Cheers, |
Morgan, The "autorehash" feature is tested and the tests are currently passing on master. Have a look at tests/array-tests.php, in the |
Thanks for your reply. I'll try it out:) |
not work! the Redis_Auto_Rehashing_Test passed just because there's a Redis_Rehashing_Tes before it. |
I just tried this today, and it doesn't auto rehash. Can anyone verify that this is working? |
Hey there, can you please test the branch |
I tried main branch and tag 2.2.2. It turns out that, as code below, autorehash doesn't trigger migration of keys among nodes.
$options = array(0;
$options['previous'] = $previous_server_list;
$options['autorehash'] = TRUE;
$ra = new RedisArray($server_list, $options);
Is there something missing in https://github.com/nicolasff/phpredis/blob/master/arrays.markdown#readme ?
The text was updated successfully, but these errors were encountered: