You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (Jira)" <ji...@apache.org> on 2020/06/03 14:11:00 UTC
[jira] [Updated] (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 ]
Grant Henke updated KUDU-2657:
------------------------------
Labels: beginner (was: )
> 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
> Assignee: Alexey Serbin
> Priority: Major
> Labels: beginner
>
> 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)