You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Alexey Serbin (Jira)" <ji...@apache.org> on 2021/07/08 06:09:00 UTC

[jira] [Assigned] (KUDU-2657) Make sure the standard pseudo-random generator is seeded in C++ kudu client

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

Alexey Serbin reassigned KUDU-2657:
-----------------------------------

    Assignee:     (was: Alexey Serbin)

> Make sure the standard pseudo-random generator is seeded in C++ kudu client
> ---------------------------------------------------------------------------
>
>                 Key: KUDU-2657
>                 URL: https://issues.apache.org/jira/browse/KUDU-2657
>             Project: Kudu
>          Issue Type: Task
>          Components: client
>            Reporter: Alexey Serbin
>            Priority: Major
>              Labels: beginner, trivial
>
> This is just a TODO item.
> In our client code we use random() in a few places to select a random server among several available ones.  In case of large number of clients connecting to a Kudu cluster it's essential not all the requests are landed at the same server. It would be nice to make sure the random generator is seeded: a quick inspection of the code didn't reveal any evidence of that right away.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)