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 2019/01/08 18:06:00 UTC

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

Alexey Serbin created KUDU-2657:
-----------------------------------

             Summary: 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


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
(v7.6.3#76005)