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)

Reply via email to