Re: [SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Ginhoux, Patrick
List Objet : Re: [SR-Users] Why these 2 items in the same entry for a htable Hello, On 04.04.17 14:11, Ginhoux, Patrick wrote: Hi, Thanks for the link I’ll take a lot more later. Now a quick look seems funny : Ideally, the hash function will assign each key to a unique bucket

Re: [SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Daniel-Constantin Mierla
tem). Cheers, Daniel > > > Cordialement > > Patrick GINHOUX > > > > *De :*sr-users [mailto:sr-users-boun...@lists.sip-router.org] *De la > part de* Daniel-Constantin Mierla > *Envoyé :* mardi 4 avril 2017 12:45 > *À :* Kamailio (SER) - Users Mailing List > *

Re: [SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Ginhoux, Patrick
s-boun...@lists.sip-router.org] De la part de Daniel-Constantin Mierla Envoyé : mardi 4 avril 2017 12:45 À : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] Why these 2 items in the same entry for a htable Hello, if you are not familiar with hash table structure, take a bit of t

Re: [SR-Users] Why these 2 items in the same entry for a htable

2017-04-04 Thread Daniel-Constantin Mierla
Hello, if you are not familiar with hash table structure, take a bit of time to read about it, a good article on wikipedia: - https://en.wikipedia.org/wiki/Hash_table The dump prints only details of the slots (buckets) that have data on it (size>0). The entry field in the dump content is pract

[SR-Users] Why these 2 items in the same entry for a htable

2017-04-03 Thread Ginhoux, Patrick
Hi, While working on the project to migrate my kamailio.cfg script from kamailio 3.3.1 to 5.0.x, I discovered that in there are 2 items in the same htable. Below the figure that illustrate this case : 1) Content of the MBXRANGE table : mysql> select * from mbxrange; +-+---