Skip to content

auto_eject_host not working.  #438

@leunamnauj

Description

@leunamnauj

I have 3 redis servers + sentinel and I thought on put twemproxy over for load balancing and HA somehow.
I understand that auto_eject_host directive is used to remove a server from the pool when is failing but this is not the case, when I put down one of Redis servers twemproxy still trying to query on it and I got "(error) ERR Connection refused"

Honestly I'm not sure if I set something wrong of if I misunderstand the behavior of the tool.
Thanks in advance

This is my config:

redis1:
listen: 0.0.0.0:6379
redis: true
hash: fnv1a_64
distribution: ketama
auto_eject_hosts: true
timeout: 400
server_retry_timeout: 2000
server_failure_limit: 1
preconnect: true
servers:

  • privip1:6380:1
  • privip1:6380:1
  • privip1:6380:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions