'clear table <table>' clearing only bottom entry? (1.5dev7)

From: <joe.price#vaisala.com>
Date: Wed, 9 Nov 2011 09:31:52 -0000


Using 'clear table backend1' on the socket seems to only be clearing the bottom entry of 'show table backend1' wheras the docs say "In the case where no options arguments are given all entries will be removed." I'm reasonably sure this worked fine in 1.4.

Also, in the docs, my socat (1.7.1.2) doesn't work as the example... I needed to `echo "clear table backend1" | socat unix-connect:haproxy.sock stdio`

Apologies if this isn't the correct place to "report possible bugs", I didn't see anywhere better on the website.

My configuration follows:

global

    daemon
    maxconn 256
# chroot chroot

    stats socket /home/vaisala/haproxy/haproxy.sock mode 0600 level admin

defaults

    log global
    option tcplog
    option logasap
    mode tcp
    timeout check 4s
    timeout connect 4s
    timeout client 2m
    timeout server 2m

backend backend1

    log 127.0.0.1 local0
    balance leastconn
    stick-table type integer size 10k expire 70m     stick on dst_port

    default-server weight 100 maxconn 1 inter 30s downinter 2m fastinter 5s slowstart 15m

    server server1 address1:port check
    server server2 address2:port check Received on 2011/11/09 10:31

This archive was generated by hypermail 2.2.0 : 2011/11/09 10:45 CET