Open wqshr12345 opened 2 days ago
Note: Please use Issues only for bug reports. For questions, discussions, feature requests, etc. post to dev group: https://groups.google.com/forum/#!forum/rocksdb or https://www.facebook.com/groups/rocksdb.dev
When using HistogramStat in a multithreaded environment, where the cumulative percentage exceeded 100%.
I suspect this is related to the Add logic in HistogramStat.
In a multithreaded scenario, could this lead to incorrect updates of variables like num and sum? Should we replace it with fetch_add?
When using HistogramStat in a multithreaded environment, where the cumulative percentage exceeded 100%.
I suspect this is related to the Add logic in HistogramStat.
In a multithreaded scenario, could this lead to incorrect updates of variables like num and sum? Should we replace it with fetch_add?