[sr-dev] [kamailio] [htable] some sht indexes and values gets duplicated (#191)

fr6nco notifications at github.com
Wed Jun 3 19:46:03 CEST 2015


Hello,

I have noticed, that indexes with special chars gets duplicated in htables-es.

When I insert to htable a value with index like:
`1335199467::3339-516-53201517440-VM1-1-212.232.17.91::to:: some_value`

then I dump the elements using fifo sht_dump I see the same entry duplicated with slightly modfied index:
`1335199467::3339-516-53201517440-VM1-1-212.232.17.91::to:: some_value
1335199467::3339-516-53201517440-VM1-1-212_232_17_91::to:: some_value`

So to be clear.
Only 1 value is inserted and when I dump it I see 2 values in the htable. This happens when indexes with a dot are inserted to a htable and makes me some trouble when doing replication over multiple kamailios.

I consider it as a bug as using htable.sets I cant insert the both values to another node when doing manual replication of htableses.



---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150603/9b0df99e/attachment.html>


More information about the sr-dev mailing list