mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-22 01:20:39 +00:00
We call shuffle() with a random_device, extracting a true random number in each of the many calls shuffle() will invoke. Change it to use a random_engine seeded by a random_device. This avoids exhausting entropy, see [1] for details. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94087