Good Morning Will,

Which version of haproxy are you running?

I reported a very similar problem in 1.5-dev7 a year ago and Willy
committed a fix on 20120109... has it reared its head again since?

Joe

http://comments.gmane.org/gmane.comp.web.haproxy/7108

-----Original Message-----
From: Will Glass-Husain <[email protected]>
To: [email protected]
Subject: clear table doesn't clear all items in stick table
Date: Thu, 11 Apr 2013 15:47:44 -0700

Hi,


According to the docs, "clear table" without a key should clear all
items.  But it looks like it doesn't do anything.  See below:


---


root@www1-new:/var/log# echo "clear table simulate-qa" | socat
unix-connect:/tmp/haproxy stdio
# table: simulate-qa, type: string, size:5242880, used:5
0x23f1244: key="" use=0 exp=1468166 server_id=2
0x24a5a84: key=05665A950B80C85E87F7A7603DD85D1A.qa2+jse use=0
exp=1474211 server_id=2
0x24a5e94: key=33F9D2CB920BA876D154E993072CB7CC.qa2+jse use=0
exp=1506184 server_id=1
0x24a59b4: key=5AE4DAFA9B31DDF94DD0F6C4B556E713.qa2+jse use=0
exp=1547923 server_id=2
0x24a5264: key=D398D62F275151CE0A5E279F95C2C5C3.qa1+jse use=0
exp=1499675 server_id=2


root@www1-new:/var/log# echo "show table simulate-qa" | socat
unix-connect:/tmp/haproxy stdio
# table: simulate-qa, type: string, size:5242880, used:5
0x23f1244: key="" use=0 exp=1460556 server_id=2
0x24a5a84: key=05665A950B80C85E87F7A7603DD85D1A.qa2+jse use=0
exp=1466601 server_id=2
0x24a5e94: key=33F9D2CB920BA876D154E993072CB7CC.qa2+jse use=0
exp=1498574 server_id=1
0x24a59b4: key=5AE4DAFA9B31DDF94DD0F6C4B556E713.qa2+jse use=0
exp=1540313 server_id=2
0x24a5264: key=D398D62F275151CE0A5E279F95C2C5C3.qa1+jse use=0
exp=1492065 server_id=2


--


clear table key 05665A950B80C85E87F7A7603DD85D1A.qa2+jse


works fine however.


WILL




-- 
Forio Online Simulations
 
Will Glass-Husain
415 440-7500x89
[email protected]
www.forio.com

Reply via email to