Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.14][#13255] DocDb: Use ThreadLocal instead of ThreadSafeR…
…andom in Trace::NewTrace Summary: Original commit: 7330639 / D18257 Trace::NewTrace introduced in 11f564f / https://phabricator.dev.yugabyte.com/D15678 uses Thread Safe Random. ThreadSafeRandom may contend on its spinlock. To avoid this, we could use a ThreadLocal. Jira: DB-2905 Test Plan: ybd --cxx-test cluster_trace-test Reviewers: bogdan, mbautin, rsami Reviewed By: bogdan Subscribers: amitanand, ybase Differential Revision: https://phorge.dev.yugabyte.com/D25604
- Loading branch information