mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 11:22:01 +00:00
Add a support for defining a probability (a value in a [0,1] range) for tracing the next CQL request. Traces for requests that are chosen to be traced due to this feature are not going to flushed immediately. Use std::subtract_with_carry_engine (implements the "lagged Fibonacci" algorithm) random number engine for fastest generation of random integer values. Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>