[SR-Users] htable ::size has wrong value
Juha Heinanen
jh at tutpro.com
Tue May 24 21:22:47 CEST 2011
Juha Heinanen writes:
> here you go:
>
> # sip-proxy_ctl mi sht_reload htable
> # sip-proxy_ctl mi sht_dump htable | egrep 20033
> lpi::20033::prefix[0]:: +3583796294
> lpi::20033::prefix[1]:: +35837824030
> lpi::20033::prefix::size:: 1
now when i took closer look at the db table, it actually contains FOUR
records with key_name lpi::20033::prefix. so reload skips two of them
and records wrong ::size value for the remaining two.
-- juha
mysql> select count(key_name) from htable where key_name = 'lpi::20033::prefix';
+-----------------+
| count(key_name) |
+-----------------+
| 4 |
+-----------------+
More information about the sr-users
mailing list