You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "John Plevyak (JIRA)" <ji...@apache.org> on 2011/03/14 19:29:30 UTC

[jira] Resolved: (TS-707) The random number generator from 1-23-2011 is using the same seed for all threads = collisions in the cache

     [ https://issues.apache.org/jira/browse/TS-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Plevyak resolved TS-707.
-----------------------------

    Resolution: Fixed

svn commit: r1081019

Remove default 'seed' codepath.
Also increase the side of the seed to 64-bits and
use the high resolution timer as part of the seed
for more faster moving bits.

> The random number generator from 1-23-2011 is using the same seed for all threads = collisions in the cache
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: TS-707
>                 URL: https://issues.apache.org/jira/browse/TS-707
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache
>    Affects Versions: 2.1.6
>            Reporter: John Plevyak
>            Assignee: John Plevyak
>             Fix For: 2.1.7
>
>
> The random number generator from 1-23-2011 is using the same seed for all threads resulting in collisions in the cache.
> The problem was a default seed codepath that was incorrectly activated.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira