Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2657

Make sure the standard pseudo-random generator is seeded in C++ kudu client

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • client

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              raarora Rahul Arora
              aserbin Alexey Serbin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: