Sitelet https://github.com/phpredis/phpredis/issues/294
Skip to content

autorehash in RedisArray constructor options Doesn't Work #294

Description

@mocheng

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 ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions